From: Owain Davies <116417456+OTheDev@users.noreply.github.com> Date: Tue, 21 Feb 2023 11:58:47 +0000 (+0700) Subject: gh-101903: Remove obsolete undefs for previously removed macros Py_EnterRecursiveCall... X-Git-Tag: v3.12.0a6~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7346a381be1bc5911924fcf298408e6909f3949f;p=thirdparty%2FPython%2Fcpython.git gh-101903: Remove obsolete undefs for previously removed macros Py_EnterRecursiveCall and Py_LeaveRecursiveCall (#101923) --- diff --git a/Python/ceval.c b/Python/ceval.c index b85231a1df8a..001bdb15c0f7 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();