diff options
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index abd711e..7804e17 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -1205,14 +1205,14 @@ void PyThreadState_EnterTracing(PyThreadState *tstate) { tstate->tracing++; - _PyThreadState_DisableTracing(tstate); + _PyThreadState_PauseTracing(tstate); } void PyThreadState_LeaveTracing(PyThreadState *tstate) { tstate->tracing--; - _PyThreadState_ResetTracing(tstate); + _PyThreadState_ResumeTracing(tstate); } |