summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-13 00:24:58 +0000
committerGuido van Rossum <guido@python.org>2002-08-13 00:24:58 +0000
commitd8c8048f5e9660a877e6894393198a63cb99c89c (patch)
treedbb72734424d5866c66085970feae2338017a488
parent820819c7ca74d09f5115f52cf377aead50eeeac7 (diff)
downloadcpython-git-d8c8048f5e9660a877e6894393198a63cb99c89c.tar.gz
Fix comment for PyLong_AsUnsignedLong() to say that the return value
is an *unsigned* long.
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index bb02c9c913..694c453cae 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