From: Guido van Rossum Date: Tue, 13 Aug 2002 00:24:58 +0000 (+0000) Subject: Fix comment for PyLong_AsUnsignedLong() to say that the return value X-Git-Tag: v2.3c1~4513 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8c8048f5e9660a877e6894393198a63cb99c89c;p=thirdparty%2FPython%2Fcpython.git Fix comment for PyLong_AsUnsignedLong() to say that the return value is an *unsigned* long. --- diff --git a/Objects/longobject.c b/Objects/longobject.c index bb02c9c9134b..694c453cae2a 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -228,7 +228,7 @@ PyLong_AsLong(PyObject *vv) return -1; } -/* Get a C long int from a long int object. +/* Get a C unsigned long int from a long int object. Returns -1 and sets an error condition if overflow occurs. */ unsigned long