commit | d8c8048f5e9660a877e6894393198a63cb99c89c | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Aug 13 00:24:58 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Aug 13 00:24:58 2002 +0000 |
tree | dbb72734424d5866c66085970feae2338017a488 | |
parent | 820819c7ca74d09f5115f52cf377aead50eeeac7 [diff] |
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 bb02c9c..694c453 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c
@@ -228,7 +228,7 @@ 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