Issue #4910: replace "long" with "int" in docstring for __long__ slot and

in documentation for PyNumber_Long.
This commit is contained in:
Mark Dickinson 2009-01-10 22:14:33 +00:00
parent 30bf122841
commit d746768d3a
3 changed files with 7 additions and 16 deletions

View file

@ -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);
/*