Use PyErr_ExceptionMatches(...) instead of PyErr_Occurred() == ... in two
places.
1 file changed