Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/cursor.c @ 42541:d1855d0e4e03
A few sqlite files were still using RO instead of READONLY.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 11 Aug 2007 15:32:55 +0000 |
| parents | e64286053b25 |
| children | cb5ae020a060 |
line wrap: on
line diff
--- a/Modules/_sqlite/cursor.c Sat Aug 11 14:25:27 2007 +0000 +++ b/Modules/_sqlite/cursor.c Sat Aug 11 15:32:55 2007 +0000 @@ -996,11 +996,11 @@ 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} };
