From: Armin Rigo Date: Tue, 28 Mar 2006 19:27:56 +0000 (+0000) Subject: fix a comment. X-Git-Tag: v2.5a0~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12bec1b9851b821d3350a20f3a49e2a0cb7d22e5;p=python fix a comment. --- diff --git a/Objects/longobject.c b/Objects/longobject.c index e47c292c95..6b1a4811f3 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -301,7 +301,7 @@ _PyLong_AsSsize_t(PyObject *vv) /* Get a Py_ssize_t from a long int object. 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. - Return 0 on error, 1 on success. + On error, return -1 with an exception set. */ static Py_ssize_t