mirror of
https://github.com/python/cpython.git
synced 2026-07-24 10:52:24 -04:00
gh-130396: Export _Py_ReachedRecursionLimitWithMargin() (#142012)
test_peg_generator needs the function.
This commit is contained in:
@@ -263,7 +263,8 @@ static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate) {
|
||||
#endif
|
||||
}
|
||||
|
||||
extern int _Py_ReachedRecursionLimitWithMargin(
|
||||
// Export for test_peg_generator
|
||||
PyAPI_FUNC(int) _Py_ReachedRecursionLimitWithMargin(
|
||||
PyThreadState *tstate,
|
||||
int margin_count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user