diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-11 17:04:37 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-11 17:04:37 (GMT) |
commit | a9cab519656deda9fc3f500489bea1177d155858 (patch) | |
tree | 89f9d7e3dba2c16ed1c1938565d7e9a3ecf8f6ae /Include/abstract.h | |
parent | b3ce91607af842ab3a4658557ca51c1563332c30 (diff) | |
download | cpython-a9cab519656deda9fc3f500489bea1177d155858.zip cpython-a9cab519656deda9fc3f500489bea1177d155858.tar.gz cpython-a9cab519656deda9fc3f500489bea1177d155858.tar.bz2 |
Issue #4910: PyNumber_Int is deprecated in 3.0.1; will be removed in 3.1.
Diffstat (limited to 'Include/abstract.h')
-rw-r--r-- | Include/abstract.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index f4e31c7..dd00a53 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -784,7 +784,11 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ is cleared and the value is clipped. */ - #define PyNumber_Int PyNumber_Long + /* + PyNumber_Int used to be found here. It's now in Include/intobject.h, + where it is defined to be an alias for PyNumber_Long. New code + should use PyNumber_Long instead. + */ PyAPI_FUNC(PyObject *) PyNumber_Long(PyObject *o); |