Remove unneeded PyErr_Clear() calls after PyErr_Print(). (GH-8699)
PyErr_Print() always clears the error indicator, so there is no need to call PyErr_Clear() immediately afterwards.
Showing
Please register or sign in to comment
PyErr_Print() always clears the error indicator, so there is no need to call PyErr_Clear() immediately afterwards.