Commit 3c8c5981 authored by Guido van Rossum's avatar Guido van Rossum

Sorry, the initializer for ob_type must really be NULL,

else the damn thing won't compile on Windows :-(
parent d3ab101f
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment