fix _abc.c compile error on Cygwin (GH-8445)
(cherry picked from commit abe5922743
)
Co-authored-by: E. M. Bray <erik.m.bray@gmail.com>
This commit is contained in:
parent
6163210089
commit
8efa32888b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue