fix _abc.c compile error on Cygwin (GH-8445)

This commit is contained in:
E. M. Bray 2019-02-24 02:30:14 +01:00 committed by Inada Naoki
parent 11c7953165
commit abe5922743
1 changed files with 1 additions and 1 deletions

View File

@ -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,