diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-27 17:17:03 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-27 17:17:03 (GMT) |
commit | 46e1ce214b5711e8dae63a1b5a0a7aafb371baf0 (patch) | |
tree | 0230554f5bd4df8804946f5bb0634cefdbbbd2ae /Include/abstract.h | |
parent | 14e461d5b92000ec4e89182fa25ab0d5b5b31234 (diff) | |
parent | 9594942716a8f9c557b85d31751753d89cd7cebf (diff) | |
download | cpython-46e1ce214b5711e8dae63a1b5a0a7aafb371baf0.zip cpython-46e1ce214b5711e8dae63a1b5a0a7aafb371baf0.tar.gz cpython-46e1ce214b5711e8dae63a1b5a0a7aafb371baf0.tar.bz2 |
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
Diffstat (limited to 'Include/abstract.h')
-rw-r--r-- | Include/abstract.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 6516bfe..a1f0595 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -776,7 +776,7 @@ PyAPI_FUNC(Py_ssize_t) PyObject_LengthHint(PyObject *o, Py_ssize_t); PyAPI_FUNC(PyObject *) PyNumber_Index(PyObject *o); /* - Returns the object converted to a Python long or int + Returns the object converted to a Python int or NULL with an error raised on failure. */ @@ -785,7 +785,7 @@ PyAPI_FUNC(Py_ssize_t) PyObject_LengthHint(PyObject *o, Py_ssize_t); /* Returns the object converted to Py_ssize_t by going through PyNumber_Index first. If an overflow error occurs while - converting the int-or-long to Py_ssize_t, then the second argument + converting the int to Py_ssize_t, then the second argument is the error-type to return. If it is NULL, then the overflow error is cleared and the value is clipped. */ |