]> granicus.if.org Git - python/commitdiff
Fix comment for PyLong_AsUnsignedLong() to say that the return value
authorGuido van Rossum <guido@python.org>
Tue, 13 Aug 2002 00:24:58 +0000 (00:24 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 13 Aug 2002 00:24:58 +0000 (00:24 +0000)
is an *unsigned* long.

Objects/longobject.c

index bb02c9c9134b925783685a4af2da4642f5fd797d..694c453cae2af30e4623265378e9162e4c8ae246 100644 (file)
@@ -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