summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-13 00:24:58 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-13 00:24:58 (GMT)
commitd8c8048f5e9660a877e6894393198a63cb99c89c (patch)
treedbb72734424d5866c66085970feae2338017a488 /Objects/longobject.c
parent820819c7ca74d09f5115f52cf377aead50eeeac7 (diff)
downloadcpython-d8c8048f5e9660a877e6894393198a63cb99c89c.zip
cpython-d8c8048f5e9660a877e6894393198a63cb99c89c.tar.gz
cpython-d8c8048f5e9660a877e6894393198a63cb99c89c.tar.bz2
Fix comment for PyLong_AsUnsignedLong() to say that the return value
is an *unsigned* long.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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