mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #4910: PyNumber_Int is deprecated in 3.0.1; will be removed in 3.1.
This commit is contained in:
parent
b3ce91607a
commit
a9cab51965
3 changed files with 15 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue