A few sqlite files were still using RO instead of READONLY.

This commit is contained in:
Guido van Rossum 2007-08-11 15:32:55 +00:00
parent a291c8fed2
commit 10f07c41e6
2 changed files with 15 additions and 15 deletions

View file

@ -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}
};