]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Sep 2019 11:31:50 +0000 (04:31 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2019 11:31:50 +0000 (04:31 -0700)
(cherry picked from commit 3038e87ba848023470f571242a8bb5a206c24430)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
Doc/library/sys.rst

index e54f2526a8df1e01574ab6364fe5d38f223d01a7..121464f9470b01ec6ee1c759cf9dd67f35d8c3e0 100644 (file)
@@ -1185,7 +1185,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