mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
bpo-40170: Always define PyExceptionClass_Name() as a function (GH-24553)
Remove macro variant of PyExceptionClass_Name().
This commit is contained in:
parent
801bb0b503
commit
cd80f430da
3 changed files with 3 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue