commit | 12bec1b9851b821d3350a20f3a49e2a0cb7d22e5 | [log] [tgz] |
---|---|---|
author | Armin Rigo <arigo@tunes.org> | Tue Mar 28 19:27:56 2006 +0000 |
committer | Armin Rigo <arigo@tunes.org> | Tue Mar 28 19:27:56 2006 +0000 |
tree | dedf446c3295256acc08d13f604eec570f1c331e | |
parent | 80bb2bb7eb8ed68609f7533eac6d1e31f45b2843 [diff] [blame] |
fix a comment.
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 @@ /* 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