Skip to content

Commit

Permalink
pythongh-101903: Remove obsolete undefs for previously removed macros…
Browse files Browse the repository at this point in the history
… Py_EnterRecursiveCall and Py_LeaveRecursiveCall (python#101923)
  • Loading branch information
OTheDev authored and python-sidebar committed Sep 1, 2024
1 parent 75260af commit 6f23007
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6f23007

Please sign in to comment.