mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
A few sqlite files were still using RO instead of READONLY.
This commit is contained in:
parent
a291c8fed2
commit
10f07c41e6
2 changed files with 15 additions and 15 deletions
|
@ -996,11 +996,11 @@ static PyMethodDef cursor_methods[] = {
|
|||
|
||||
static struct PyMemberDef cursor_members[] =
|
||||
{
|
||||
{"connection", T_OBJECT, offsetof(pysqlite_Cursor, connection), RO},
|
||||
{"description", T_OBJECT, offsetof(pysqlite_Cursor, description), RO},
|
||||
{"connection", T_OBJECT, offsetof(pysqlite_Cursor, connection), READONLY},
|
||||
{"description", T_OBJECT, offsetof(pysqlite_Cursor, description), READONLY},
|
||||
{"arraysize", T_INT, offsetof(pysqlite_Cursor, arraysize), 0},
|
||||
{"lastrowid", T_OBJECT, offsetof(pysqlite_Cursor, lastrowid), RO},
|
||||
{"rowcount", T_OBJECT, offsetof(pysqlite_Cursor, rowcount), RO},
|
||||
{"lastrowid", T_OBJECT, offsetof(pysqlite_Cursor, lastrowid), READONLY},
|
||||
{"rowcount", T_OBJECT, offsetof(pysqlite_Cursor, rowcount), READONLY},
|
||||
{"row_factory", T_OBJECT, offsetof(pysqlite_Cursor, row_factory), 0},
|
||||
{NULL}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue