bpo-40170: Always define PyExceptionClass_Name() as a function (GH-24553)

Remove macro variant of PyExceptionClass_Name().
This commit is contained in:
Erlend Egeberg Aasland 2021-02-17 11:51:08 +01:00 committed by GitHub
parent 801bb0b503
commit cd80f430da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

View file

@ -364,8 +364,6 @@ PyException_SetContext(PyObject *self, PyObject *context)
Py_XSETREF(_PyBaseExceptionObject_cast(self)->context, context);
}
#undef PyExceptionClass_Name
const char *
PyExceptionClass_Name(PyObject *ob)
{