mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
fix a comment.
This commit is contained in:
parent
80bb2bb7eb
commit
12bec1b985
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ _PyLong_AsSsize_t(PyObject *vv)
|
||||||
/* Get a Py_ssize_t from a long int object.
|
/* Get a Py_ssize_t from a long int object.
|
||||||
Silently reduce values larger than PY_SSIZE_T_MAX to PY_SSIZE_T_MAX,
|
Silently reduce values larger than PY_SSIZE_T_MAX to PY_SSIZE_T_MAX,
|
||||||
and silently boost values less than -PY_SSIZE_T_MAX-1 to -PY_SSIZE_T_MAX-1.
|
and silently boost values less than -PY_SSIZE_T_MAX-1 to -PY_SSIZE_T_MAX-1.
|
||||||
Return 0 on error, 1 on success.
|
On error, return -1 with an exception set.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static Py_ssize_t
|
static Py_ssize_t
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue