]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101903: Remove obsolete undefs for previously removed macros Py_EnterRecursiveCall...
authorOwain Davies <116417456+OTheDev@users.noreply.github.com>
Tue, 21 Feb 2023 11:58:47 +0000 (18:58 +0700)
committerGitHub <noreply@github.com>
Tue, 21 Feb 2023 11:58:47 +0000 (11:58 +0000)
Python/ceval.c

index b85231a1df8a9545adef0763f539e01d1d514a60..001bdb15c0f7556acf3b7889e56bbee75ab777f0 100644 (file)
@@ -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();