summaryrefslogtreecommitdiffstats
path: root/Include/abstract.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h6
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);