summaryrefslogtreecommitdiffstats
path: root/Include/abstract.h
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-10 22:14:33 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-10 22:14:33 (GMT)
commitd746768d3a085a214bd35123df500e791afcf610 (patch)
tree156b1c00a4301230f2a3b3f908fcb474322e136c /Include/abstract.h
parent30bf122841669591b9368bcf1ed079729eb837b3 (diff)
downloadcpython-d746768d3a085a214bd35123df500e791afcf610.zip
cpython-d746768d3a085a214bd35123df500e791afcf610.tar.gz
cpython-d746768d3a085a214bd35123df500e791afcf610.tar.bz2
Issue #4910: replace "long" with "int" in docstring for __long__ slot and
in documentation for PyNumber_Long.
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index 0bbcee5..4fb16d0 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -808,20 +808,14 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
#define PyNumber_Int PyNumber_Long
+ PyAPI_FUNC(PyObject *) PyNumber_Long(PyObject *o);
+
/*
Returns the o converted to an integer object on success, or
NULL on failure. This is the equivalent of the Python
expression: int(o).
*/
- PyAPI_FUNC(PyObject *) PyNumber_Long(PyObject *o);
-
- /*
- Returns the o converted to a long integer object on success,
- or NULL on failure. This is the equivalent of the Python
- expression: long(o).
- */
-
PyAPI_FUNC(PyObject *) PyNumber_Float(PyObject *o);
/*