mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
This commit is contained in:
parent
ce81a925ef
commit
3038e87ba8
1 changed files with 2 additions and 1 deletions
|
@ -1253,7 +1253,8 @@ always available.
|
|||
|
||||
The trace function is invoked (with *event* set to ``'call'``) whenever a new
|
||||
local scope is entered; it should return a reference to a local trace
|
||||
function to be used that scope, or ``None`` if the scope shouldn't be traced.
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue