summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2019-09-05 11:10:37 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-09-05 11:10:37 (GMT)
commit3038e87ba848023470f571242a8bb5a206c24430 (patch)
tree434793433a60345d000f92f24e10bfb7faccdadb /Doc
parentce81a925ef2d466b0d801deaba9af44a0dfc2aa1 (diff)
downloadcpython-3038e87ba848023470f571242a8bb5a206c24430.zip
cpython-3038e87ba848023470f571242a8bb5a206c24430.tar.gz
cpython-3038e87ba848023470f571242a8bb5a206c24430.tar.bz2
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/sys.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 6119bee..01df026 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -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