Commit d8c8048f authored by Guido van Rossum's avatar Guido van Rossum

Fix comment for PyLong_AsUnsignedLong() to say that the return value

is an *unsigned* long.
parent 820819c7
...@@ -228,7 +228,7 @@ PyLong_AsLong(PyObject *vv) ...@@ -228,7 +228,7 @@ PyLong_AsLong(PyObject *vv)
return -1; 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. */ Returns -1 and sets an error condition if overflow occurs. */
unsigned long unsigned long
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment