aboutsummaryrefslogtreecommitdiff
path: root/Objects/exceptions.c
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-02-17 11:51:08 +0100
committerGitHub <noreply@github.com>2021-02-17 11:51:08 +0100
commitcd80f430daa7dfe7feeb431ed34f88db5f64aa30 (patch)
tree0f9872a24b851c515b3ab1853bb7cd834f7cee67 /Objects/exceptions.c
parent801bb0b5035f8eeafe389dc082c02dfafaa07f6a (diff)
downloadcpython3-cd80f430daa7dfe7feeb431ed34f88db5f64aa30.tar.gz
bpo-40170: Always define PyExceptionClass_Name() as a function (GH-24553)
Remove macro variant of PyExceptionClass_Name().
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r--Objects/exceptions.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index d4824938a0..62cec9a90f 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -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)
{