gh-101903: Remove obsolete undefs for previously removed macros Py_EnterRecursiveCall and Py_LeaveRecursiveCall (#101923)

This commit is contained in:
Owain Davies 2023-02-21 18:58:47 +07:00 committed by GitHub
parent b40dd71241
commit 7346a381be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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();