When PyInt_FromLong() returns NULL, you do not need to check PyErr_Occurred().  Removed the extra test and setting of a bogus exception.
When PyInt_FromLong() returns NULL, you do not need to check
PyErr_Occurred().  Removed the extra test and setting of a
bogus exception.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator