diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2014-10-22 12:18:07 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2014-10-22 12:18:07 +0000 |
| commit | 71d5cae4e3b1c2cdd155d472f84ac1e0aad1dae7 (patch) | |
| tree | 2910d493a408f66979998aa8b38f994ffdd90094 /src/runtime | |
| parent | 391b301881bee7de9580f2c6d819144161e6a51d (diff) | |
make the fields of BracketedString in the Python binding read/write
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/python/pypgf.c | 10 |
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 */ }; |
