[Python-checkins] r43409 - python/trunk/Objects/longobject.c

armin.rigo python-checkins at python.org
Tue Mar 28 21:27:57 CEST 2006


Author: armin.rigo
Date: Tue Mar 28 21:27:56 2006
New Revision: 43409
Modified:
 python/trunk/Objects/longobject.c
Log:
fix a comment.
Modified: python/trunk/Objects/longobject.c
==============================================================================
--- python/trunk/Objects/longobject.c	(original)
+++ python/trunk/Objects/longobject.c	Tue Mar 28 21:27:56 2006
@@ -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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /