summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-02-23 17:53:28 -0800
committerGitHub <noreply@github.com>2019-02-23 17:53:28 -0800
commit8efa32888b6ab1b8420a4883167b68824faba4cc (patch)
tree399028bfc16abf775cfbdc8fc9c2bdbcee4a8549 /Modules
parent6163210089148ad31c270695f7273fc3561a211a (diff)
downloadcpython-git-8efa32888b6ab1b8420a4883167b68824faba4cc.tar.gz
fix _abc.c compile error on Cygwin (GH-8445)
(cherry picked from commit abe5922743f62e130c4dad2f637274c38d6b1e8b) Co-authored-by: E. M. Bray <erik.m.bray@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_abc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_abc.c b/Modules/_abc.c
index 36c1757b5f..1fbf3a8310 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,