summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-05 11:17:41 (GMT)
committerGitHub <noreply@github.com>2019-09-05 11:17:41 (GMT)
commit7eaeddad75cc736d327b8ece9380ef6ee23a0d9a (patch)
tree74dd70b63aa82cf9c6ab0eabb6286327325286bb /Doc/library
parentf5649bfe7622447b302ef55e4db3a96b5840f8e8 (diff)
downloadcpython-7eaeddad75cc736d327b8ece9380ef6ee23a0d9a.zip
cpython-7eaeddad75cc736d327b8ece9380ef6ee23a0d9a.tar.gz
cpython-7eaeddad75cc736d327b8ece9380ef6ee23a0d9a.tar.bz2
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
(cherry picked from commit 3038e87ba848023470f571242a8bb5a206c24430) Co-authored-by: Andre Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc/library')
-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 09a987c..be1af37 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -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