From 12bec1b9851b821d3350a20f3a49e2a0cb7d22e5 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Tue, 28 Mar 2006 19:27:56 +0000 Subject: fix a comment. --- Objects/longobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/longobject.c b/Objects/longobject.c index e47c292..6b1a481 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 -- cgit v0.12