From: Fred Drake Date: Fri, 23 May 1997 04:04:17 +0000 (+0000) Subject: Add doc string to type object. X-Git-Tag: v1.5a3~465 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69b9ae4e0bd101ad065575c206a2c247d3449a4c;p=python Add doc string to type object. --- diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index bd1be62794..50c1defc4f 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -213,7 +213,18 @@ PyTypeObject PyAST_Type = { 0, /* tp_as_mapping */ 0, /* tp_hash */ 0, /* tp_call */ - 0 /* tp_str */ + 0, /* tp_str */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ + + /* Functions to access object as input/output buffer */ + 0, /* tp_as_buffer */ + + /* Space for future expansion */ + 0, /* tp_xxx4 */ + + /* __doc__ */ + "Intermediate representation of a Python parse tree." }; /* PyAST_Type */