From d8c8048f5e9660a877e6894393198a63cb99c89c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 13 Aug 2002 00:24:58 +0000 Subject: [PATCH] Fix comment for PyLong_AsUnsignedLong() to say that the return value is an *unsigned* long. --- Objects/longobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1