File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Open diff view settings
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -1478,9 +1478,10 @@ always available.
14781478 function to be used for the new scope, or ``None `` if the scope shouldn't be
14791479 traced.
14801480
1481- The local trace function should return a reference to itself (or to another
1482- function for further tracing in that scope), or ``None `` to turn off tracing
1483- in that scope.
1481+ The local trace function can return a reference to another function for
1482+ further tracing in that scope, or ``None `` to keep the current local trace
1483+ function active. To turn off tracing in this scope, the local trace function
1484+ can set ``frame.f_trace `` to ``None ``.
14841485
14851486 If there is any error occurred in the trace function, it will be unset, just
14861487 like ``settrace(None) `` is called.
You can’t perform that action at this time.
0 commit comments