diff Modules/parsermodule.c @ 5613:190e35bbc15a legacy-trunk

Add doc string to type object.
author Fred Drake <fdrake@acm.org>
date Fri, 23 May 1997 04:04:17 +0000
parents b4e671bc1331
children 0e7e20049637
line wrap: on
line diff
--- a/Modules/parsermodule.c	Fri May 23 00:50:01 1997 +0000
+++ b/Modules/parsermodule.c	Fri May 23 04:04:17 1997 +0000
@@ -213,7 +213,18 @@
     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 */