Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 69b9ae4

Browse files
committed
Add doc string to type object.
1 parent c644752 commit 69b9ae4

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

Modules/parsermodule.c

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,18 @@ PyTypeObject PyAST_Type = {
213213
0, /* tp_as_mapping */
214214
0, /* tp_hash */
215215
0, /* tp_call */
216-
0 /* tp_str */
216+
0, /* tp_str */
217+
0, /* tp_getattro */
218+
0, /* tp_setattro */
219+
220+
/* Functions to access object as input/output buffer */
221+
0, /* tp_as_buffer */
222+
223+
/* Space for future expansion */
224+
0, /* tp_xxx4 */
225+
226+
/* __doc__ */
227+
"Intermediate representation of a Python parse tree."
217228

218229
}; /* PyAST_Type */
219230

0 commit comments

Comments
 (0)