diff options
author | E. M. Bray <erik.m.bray@gmail.com> | 2019-02-24 01:30:14 (GMT) |
---|---|---|
committer | Inada Naoki <methane@users.noreply.github.com> | 2019-02-24 01:30:14 (GMT) |
commit | abe5922743f62e130c4dad2f637274c38d6b1e8b (patch) | |
tree | a30e7d551b4744083faf00e1c31778601fcabdac /Modules/_abc.c | |
parent | 11c79531655a4aa3f82c20ff562ac571f40040cc (diff) | |
download | cpython-abe5922743f62e130c4dad2f637274c38d6b1e8b.zip cpython-abe5922743f62e130c4dad2f637274c38d6b1e8b.tar.gz cpython-abe5922743f62e130c4dad2f637274c38d6b1e8b.tar.bz2 |
fix _abc.c compile error on Cygwin (GH-8445)
Diffstat (limited to 'Modules/_abc.c')
-rw-r--r-- | Modules/_abc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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, |