summaryrefslogtreecommitdiff
path: root/psycopg/microprotocols_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/microprotocols_proto.c')
-rw-r--r--psycopg/microprotocols_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/microprotocols_proto.c b/psycopg/microprotocols_proto.c
index 620ca3f..3214dad 100644
--- a/psycopg/microprotocols_proto.c
+++ b/psycopg/microprotocols_proto.c
@@ -96,7 +96,7 @@ static struct PyMethodDef isqlquoteObject_methods[] = {
static struct PyMemberDef isqlquoteObject_members[] = {
/* DBAPI-2.0 extensions (exception objects) */
- {"_wrapped", T_OBJECT, offsetof(isqlquoteObject, wrapped), RO},
+ {"_wrapped", T_OBJECT, offsetof(isqlquoteObject, wrapped), READONLY},
{NULL}
};