From: E. M. Bray Date: Sun, 24 Feb 2019 01:30:14 +0000 (+0100) Subject: fix _abc.c compile error on Cygwin (GH-8445) X-Git-Tag: v3.8.0a2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abe5922743f62e130c4dad2f637274c38d6b1e8b;p=thirdparty%2FPython%2Fcpython.git fix _abc.c compile error on Cygwin (GH-8445) --- diff --git a/Modules/_abc.c b/Modules/_abc.c index 36c1757b5fd3..1fbf3a831007 100644 --- a/Modules/_abc.c +++ b/Modules/_abc.c @@ -66,7 +66,7 @@ PyDoc_STRVAR(abc_data_doc, "Internal state held by ABC machinery."); static PyTypeObject _abc_data_type = { - PyVarObject_HEAD_INIT(&PyType_Type, 0) + PyVarObject_HEAD_INIT(NULL, 0) "_abc_data", /*tp_name*/ sizeof(_abc_data), /*tp_basicsize*/ .tp_dealloc = (destructor)abc_data_dealloc,