When PyInt_FromLong() returns NULL, you do not need to check
PyErr_Occurred(). Removed the extra test and setting of a bogus exception.
Showing
Please
register
or
sign in
to comment
PyErr_Occurred(). Removed the extra test and setting of a bogus exception.