From 3c8c5981b18948b5ddfc0ef3bcf0a6e000bb59b4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 29 May 1998 02:58:20 +0000 Subject: Sorry, the initializer for ob_type must really be NULL, else the damn thing won't compile on Windows :-( --- Modules/parsermodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 3db3431..eba64a4 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -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 */ -- cgit v0.12