Fix comment for PyLong_AsUnsignedLong() to say that the return value
is an *unsigned* long.
This commit is contained in:
parent
820819c7ca
commit
d8c8048f5e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue