mirror of
https://github.com/python/cpython.git
synced 2026-04-21 19:31:17 +00:00
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
(cherry picked from commit 3038e87ba8)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
This commit is contained in:
parent
f5649bfe76
commit
7eaeddad75
1 changed files with 2 additions and 1 deletions
|
|
@ -1276,7 +1276,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