Skip to content

Commit 0d6c3ae

Browse files
committed
Fix linting problems
1 parent b36aa69 commit 0d6c3ae

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Modules/_sqlite/connection.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ static int
567567
connection_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
585585
connection_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

Comments
 (0)