Skip to content

Commit 9b9e6c7

Browse files
andresdelfinolisroach
authored andcommitted
Correct minor gramatical mistake in sys.settrace doc (pythonGH-15637)
1 parent b3c9006 commit 9b9e6c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/sys.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,8 @@ always available.
12531253

12541254
The trace function is invoked (with *event* set to ``'call'``) whenever a new
12551255
local scope is entered; it should return a reference to a local trace
1256-
function to be used that scope, or ``None`` if the scope shouldn't be traced.
1256+
function to be used for the new scope, or ``None`` if the scope shouldn't be
1257+
traced.
12571258

12581259
The local trace function should return a reference to itself (or to another
12591260
function for further tracing in that scope), or ``None`` to turn off tracing

0 commit comments

Comments
 (0)