summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/cursor.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-11 15:32:55 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-11 15:32:55 (GMT)
commit10f07c41e60d2323c3dc1f69be14b5a30b7400c6 (patch)
tree7cb7f4d7501b4ff199a9c6e031ef8aff39bb51a4 /Modules/_sqlite/cursor.c
parenta291c8fed28951e5a1956d0952a205885dbfa870 (diff)
downloadcpython-10f07c41e60d2323c3dc1f69be14b5a30b7400c6.zip
cpython-10f07c41e60d2323c3dc1f69be14b5a30b7400c6.tar.gz
cpython-10f07c41e60d2323c3dc1f69be14b5a30b7400c6.tar.bz2
A few sqlite files were still using RO instead of READONLY.
Diffstat (limited to 'Modules/_sqlite/cursor.c')
-rw-r--r--Modules/_sqlite/cursor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c
index 412e386..9c295a6 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -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}
};