mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
GH-104232: Fix statement about trace return values (GH-110516)
This commit is contained in:
parent
e6eb8cafca
commit
d9246c7b73
1 changed files with 2 additions and 3 deletions
|
|
@ -1554,9 +1554,8 @@ always available.
|
|||
function to be used for the new scope, or ``None`` if the scope shouldn't be
|
||||
traced.
|
||||
|
||||
The local trace function should return a reference to itself (or to another
|
||||
function for further tracing in that scope), or ``None`` to turn off tracing
|
||||
in that scope.
|
||||
The local trace function should return a reference to itself, or to another
|
||||
function which would then be used as the local trace function for the scope.
|
||||
|
||||
If there is any error occurred in the trace function, it will be unset, just
|
||||
like ``settrace(None)`` is called.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue