summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorOwain Davies <116417456+OTheDev@users.noreply.github.com>2023-02-21 18:58:47 +0700
committerGitHub <noreply@github.com>2023-02-21 11:58:47 +0000
commit7346a381be1bc5911924fcf298408e6909f3949f (patch)
tree0b48905e3686a5c1d3a01822d7cf562be4545398 /Python/ceval.c
parentb40dd71241f092d90c192ebff5d58cbd7e84dc52 (diff)
downloadcpython-git-7346a381be1bc5911924fcf298408e6909f3949f.tar.gz
gh-101903: Remove obsolete undefs for previously removed macros Py_EnterRecursiveCall and Py_LeaveRecursiveCall (#101923)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index b85231a1df..001bdb15c0 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3068,15 +3068,11 @@ maybe_dtrace_line(_PyInterpreterFrame *frame,
/* Implement Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() as functions
for the limited API. */
-#undef Py_EnterRecursiveCall
-
int Py_EnterRecursiveCall(const char *where)
{
return _Py_EnterRecursiveCall(where);
}
-#undef Py_LeaveRecursiveCall
-
void Py_LeaveRecursiveCall(void)
{
_Py_LeaveRecursiveCall();