Skip to content

Commit

Permalink
Correct minor gramatical mistake in sys.settrace doc (pythonGH-15637)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresdelfino authored and vstinner committed Sep 5, 2019
1 parent ce81a92 commit 3038e87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3038e87

Please sign in to comment.