summaryrefslogtreecommitdiff
path: root/src/runtime/python/pypgf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/python/pypgf.c')
-rw-r--r--src/runtime/python/pypgf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c
index d8e648992..10dd0969f 100644
--- a/src/runtime/python/pypgf.c
+++ b/src/runtime/python/pypgf.c
@@ -1617,15 +1617,15 @@ Bracket_repr(BracketObject *self)
}
static PyMemberDef Bracket_members[] = {
- {"cat", T_OBJECT_EX, offsetof(BracketObject, cat), READONLY,
+ {"cat", T_OBJECT_EX, offsetof(BracketObject, cat), 0,
"the syntactic category for this bracket"},
- {"fun", T_OBJECT_EX, offsetof(BracketObject, fun), READONLY,
+ {"fun", T_OBJECT_EX, offsetof(BracketObject, fun), 0,
"the abstract function for this bracket"},
- {"fid", T_INT, offsetof(BracketObject, fid), READONLY,
+ {"fid", T_INT, offsetof(BracketObject, fid), 0,
"an unique id which identifies this bracket in the whole bracketed string"},
- {"lindex", T_INT, offsetof(BracketObject, lindex), READONLY,
+ {"lindex", T_INT, offsetof(BracketObject, lindex), 0,
"the constituent index"},
- {"children", T_OBJECT_EX, offsetof(BracketObject, children), READONLY,
+ {"children", T_OBJECT_EX, offsetof(BracketObject, children), 0,
"a list with the children of this bracket"},
{NULL} /* Sentinel */
};