@@ -567,7 +567,7 @@ static int
567567connection_set_row_factory (pysqlite_Connection * self , PyObject * value , void * closure )
568568{
569569 if (value == NULL ) {
570- PyErr_SetString (PyExc_AttributeError ,
570+ PyErr_SetString (PyExc_AttributeError ,
571571 "cannot delete row_factory attribute" );
572572 return -1 ;
573573 }
@@ -585,7 +585,7 @@ static int
585585connection_set_text_factory (pysqlite_Connection * self , PyObject * value , void * closure )
586586{
587587 if (value == NULL ) {
588- PyErr_SetString (PyExc_AttributeError ,
588+ PyErr_SetString (PyExc_AttributeError ,
589589 "cannot delete text_factory attribute" );
590590 return -1 ;
591591 }
@@ -2657,9 +2657,9 @@ static PyGetSetDef connection_getset[] = {
26572657 {"in_transaction" , pysqlite_connection_get_in_transaction , NULL },
26582658 {"autocommit" , get_autocommit , set_autocommit },
26592659 {"__text_signature__" , get_sig , NULL },
2660- {"row_factory" , (getter )connection_get_row_factory ,
2660+ {"row_factory" , (getter )connection_get_row_factory ,
26612661 (setter )connection_set_row_factory },
2662- {"text_factory" , (getter )connection_get_text_factory ,
2662+ {"text_factory" , (getter )connection_get_text_factory ,
26632663 (setter )connection_set_text_factory },
26642664 {NULL }
26652665};
0 commit comments