Skip to content

Commit 248400d

Browse files
committed
drop thread-safe patterns for now
1 parent 2b516fa commit 248400d

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

Modules/_sqlite/clinic/cursor.c.h

Lines changed: 2 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_sqlite/cursor.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,27 +1298,25 @@ pysqlite_cursor_close_impl(pysqlite_Cursor *self)
12981298
}
12991299

13001300
/*[clinic input]
1301-
@critical_section
13021301
@getter
13031302
_sqlite3.Cursor.arraysize
13041303
[clinic start generated code]*/
13051304

13061305
static PyObject *
13071306
_sqlite3_Cursor_arraysize_get_impl(pysqlite_Cursor *self)
1308-
/*[clinic end generated code: output=e0919d97175e6c50 input=e0e184c319955cbc]*/
1307+
/*[clinic end generated code: output=e0919d97175e6c50 input=3278f8d3ecbd90e3]*/
13091308
{
13101309
return PyLong_FromUInt32(self->arraysize);
13111310
}
13121311

13131312
/*[clinic input]
1314-
@critical_section
13151313
@setter
13161314
_sqlite3.Cursor.arraysize
13171315
[clinic start generated code]*/
13181316

13191317
static int
13201318
_sqlite3_Cursor_arraysize_set_impl(pysqlite_Cursor *self, PyObject *value)
1321-
/*[clinic end generated code: output=af59a6b09f8cce6e input=9bb20fe894cda495]*/
1319+
/*[clinic end generated code: output=af59a6b09f8cce6e input=ace48cb114e26060]*/
13221320
{
13231321
return PyLong_AsUInt32(value, &self->arraysize);
13241322
}

0 commit comments

Comments
 (0)