diff options
author | Victor Stinner <vstinner@python.org> | 2021-10-18 16:40:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 16:40:43 (GMT) |
commit | 034f607906de6e375cc9a98cc3b09f6d56f8be10 (patch) | |
tree | 3b8e4b75e0af14d6e14079ce9d5388783a40c012 /Python/pystate.c | |
parent | 70945d57e775b335eb58b734d82e68484063e835 (diff) | |
download | cpython-034f607906de6e375cc9a98cc3b09f6d56f8be10.zip cpython-034f607906de6e375cc9a98cc3b09f6d56f8be10.tar.gz cpython-034f607906de6e375cc9a98cc3b09f6d56f8be10.tar.bz2 |
bpo-43760: Rename _PyThreadState_DisableTracing() (GH-29032)
* Rename _PyThreadState_DisableTracing()
to _PyThreadState_PauseTracing()
* Rename _PyThreadState_ResetTracing()
to _PyThreadState_ResumeTracing()
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); } |