Fix to signature definition of PyErr_NewExceptionWithDoc so module can work with PyPy