]> granicus.if.org Git - python/commitdiff
Add doc string to type object.
authorFred Drake <fdrake@acm.org>
Fri, 23 May 1997 04:04:17 +0000 (04:04 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 23 May 1997 04:04:17 +0000 (04:04 +0000)
Modules/parsermodule.c

index bd1be627942472a5769ea1b5da435fe779f9a547..50c1defc4f80dbb904f3fb6a06d171c9b25b7527 100644 (file)
@@ -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 */