]> granicus.if.org Git - python/commitdiff
Sorry, the initializer for ob_type must really be NULL,
authorGuido van Rossum <guido@python.org>
Fri, 29 May 1998 02:58:20 +0000 (02:58 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 29 May 1998 02:58:20 +0000 (02:58 +0000)
else the damn thing won't compile on Windows :-(

Modules/parsermodule.c

index 3db3431c73227b146f7f6f97e3720f29162d235d..eba64a444f0685158871311bccf6f475adf3282d 100644 (file)
@@ -209,7 +209,7 @@ parser_getattr Py_PROTO((PyObject *self, char *name));
 static
 PyTypeObject PyAST_Type = {
 
-    PyObject_HEAD_INIT(&PyType_Type)
+    PyObject_HEAD_INIT(NULL)
     0,
     "ast",                             /* tp_name              */
     (int) sizeof(PyAST_Object),                /* tp_basicsize         */