summaryrefslogtreecommitdiffstats
path: root/Objects/iterobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/iterobject.c')
-rw-r--r--Objects/iterobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/iterobject.c b/Objects/iterobject.c
index e48700c..454c405 100644
--- a/Objects/iterobject.c
+++ b/Objects/iterobject.c
@@ -253,7 +253,7 @@ _PyZip_CreateIter(PyObject* args)
assert(PyTuple_Check(args));
- if (Py_Type(&PyZipIter_Type) == NULL) {
+ if (Py_TYPE(&PyZipIter_Type) == NULL) {
if (PyType_Ready(&PyZipIter_Type) < 0)
return NULL;
}