Sorry, the initializer for ob_type must really be NULL,

else the damn thing won't compile on Windows :-(
This commit is contained in:
Guido van Rossum 1998-05-29 02:58:20 +00:00
parent d3ab101fac
commit 3c8c5981b1
1 changed files with 1 additions and 1 deletions

View File

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