summaryrefslogtreecommitdiffstats
path: root/Include/rangeobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/rangeobject.h')
-rw-r--r--Include/rangeobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/rangeobject.h b/Include/rangeobject.h
index 407fd16..36c9cee 100644
--- a/Include/rangeobject.h
+++ b/Include/rangeobject.h
@@ -20,7 +20,7 @@ they are represented by a start, stop, and step datamembers.
PyAPI_DATA(PyTypeObject) PyRange_Type;
-#define PyRange_Check(op) (Py_Type(op) == &PyRange_Type)
+#define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type)
#ifdef __cplusplus
}