Commit 12bec1b9 authored by Armin Rigo's avatar Armin Rigo

fix a comment.

parent 80bb2bb7
...@@ -301,7 +301,7 @@ _PyLong_AsSsize_t(PyObject *vv) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment