Skip to content

Commit abe5922

Browse files
embraymethane
authored andcommitted
fix _abc.c compile error on Cygwin (GH-8445)
1 parent 11c7953 commit abe5922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_abc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ PyDoc_STRVAR(abc_data_doc,
6666
"Internal state held by ABC machinery.");
6767

6868
static PyTypeObject _abc_data_type = {
69-
PyVarObject_HEAD_INIT(&PyType_Type, 0)
69+
PyVarObject_HEAD_INIT(NULL, 0)
7070
"_abc_data", /*tp_name*/
7171
sizeof(_abc_data), /*tp_basicsize*/
7272
.tp_dealloc = (destructor)abc_data_dealloc,

0 commit comments

Comments
 (0)