From 69b9ae4e0bd101ad065575c206a2c247d3449a4c Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 23 May 1997 04:04:17 +0000 Subject: [PATCH] Add doc string to type object. --- Modules/parsermodule.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index bd1be627942..50c1defc4f8 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 */