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/abstract.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/abstract.h')
-rw-r--r-- | Include/abstract.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 764d7d861e..b7fde09d52 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -1051,7 +1051,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ */ #define PySequence_ITEM(o, i)\ - ( Py_Type(o)->tp_as_sequence->sq_item(o, i) ) + ( Py_TYPE(o)->tp_as_sequence->sq_item(o, i) ) /* Assume tp_as_sequence and sq_item exist and that i does not need to be corrected for a negative index */ |