From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 24 Feb 2019 01:53:28 +0000 (-0800) Subject: fix _abc.c compile error on Cygwin (GH-8445) X-Git-Tag: v3.7.3rc1~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8efa32888b6ab1b8420a4883167b68824faba4cc;p=thirdparty%2FPython%2Fcpython.git fix _abc.c compile error on Cygwin (GH-8445) (cherry picked from commit abe5922743f62e130c4dad2f637274c38d6b1e8b) Co-authored-by: E. M. Bray --- 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,