diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-19 02:37:44 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-19 02:37:44 +0000 |
commit | 313c52225f6d34857203468bc0b431ff46195e1d (patch) | |
tree | 1ac4cf6d4292744b963ab4cfe62b4b42e1901ba6 /Include/sliceobject.h | |
parent | 4550ac1ac308a43c60070fc51dc68d1d054f51b5 (diff) | |
download | cpython-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/sliceobject.h')
-rw-r--r-- | Include/sliceobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/sliceobject.h b/Include/sliceobject.h index 21bc0257c6..dfc30c705f 100644 --- a/Include/sliceobject.h +++ b/Include/sliceobject.h @@ -26,7 +26,7 @@ typedef struct { PyAPI_DATA(PyTypeObject) PySlice_Type; -#define PySlice_Check(op) (Py_Type(op) == &PySlice_Type) +#define PySlice_Check(op) (Py_TYPE(op) == &PySlice_Type) PyAPI_FUNC(PyObject *) PySlice_New(PyObject* start, PyObject* stop, PyObject* step); |