commit | abe5922743f62e130c4dad2f637274c38d6b1e8b | [log] [tgz] |
---|---|---|
author | E. M. Bray <erik.m.bray@gmail.com> | Sun Feb 24 02:30:14 2019 +0100 |
committer | Inada Naoki <methane@users.noreply.github.com> | Sun Feb 24 10:30:14 2019 +0900 |
tree | a30e7d551b4744083faf00e1c31778601fcabdac | |
parent | 11c79531655a4aa3f82c20ff562ac571f40040cc [diff] |
fix _abc.c compile error on Cygwin (GH-8445)
diff --git a/Modules/_abc.c b/Modules/_abc.c index 36c1757..1fbf3a8 100644 --- a/Modules/_abc.c +++ b/Modules/_abc.c
@@ -66,7 +66,7 @@ "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,