@@ -533,7 +533,7 @@ static int
533533connection_set_row_factory (pysqlite_Connection * self , PyObject * value , void * closure )
534534{
535535 if (value == NULL ) {
536- PyErr_SetString (PyExc_AttributeError ,
536+ PyErr_SetString (PyExc_AttributeError ,
537537 "cannot delete row_factory attribute" );
538538 return -1 ;
539539 }
@@ -551,7 +551,7 @@ static int
551551connection_set_text_factory (pysqlite_Connection * self , PyObject * value , void * closure )
552552{
553553 if (value == NULL ) {
554- PyErr_SetString (PyExc_AttributeError ,
554+ PyErr_SetString (PyExc_AttributeError ,
555555 "cannot delete text_factory attribute" );
556556 return -1 ;
557557 }
@@ -2655,9 +2655,9 @@ static PyGetSetDef connection_getset[] = {
26552655 {"in_transaction" , pysqlite_connection_get_in_transaction , NULL },
26562656 {"autocommit" , get_autocommit , set_autocommit },
26572657 {"__text_signature__" , get_sig , NULL },
2658- {"row_factory" , (getter )connection_get_row_factory ,
2658+ {"row_factory" , (getter )connection_get_row_factory ,
26592659 (setter )connection_set_row_factory },
2660- {"text_factory" , (getter )connection_get_text_factory ,
2660+ {"text_factory" , (getter )connection_get_text_factory ,
26612661 (setter )connection_set_text_factory },
26622662 {NULL }
26632663};
0 commit comments