summaryrefslogtreecommitdiff
path: root/Include/cellobject.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-19 02:37:44 +0000
committerChristian Heimes <christian@cheimes.de>2007-12-19 02:37:44 +0000
commit313c52225f6d34857203468bc0b431ff46195e1d (patch)
tree1ac4cf6d4292744b963ab4cfe62b4b42e1901ba6 /Include/cellobject.h
parent4550ac1ac308a43c60070fc51dc68d1d054f51b5 (diff)
downloadcpython-313c52225f6d34857203468bc0b431ff46195e1d.tar.gz
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
Diffstat (limited to 'Include/cellobject.h')
-rw-r--r--Include/cellobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cellobject.h b/Include/cellobject.h
index 1036420313..c927ee5da1 100644
--- a/Include/cellobject.h
+++ b/Include/cellobject.h
@@ -13,7 +13,7 @@ typedef struct {
PyAPI_DATA(PyTypeObject) PyCell_Type;
-#define PyCell_Check(op) (Py_Type(op) == &PyCell_Type)
+#define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type)
PyAPI_FUNC(PyObject *) PyCell_New(PyObject *);
PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *);