]> granicus.if.org Git - python/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:17:41 +0000 (04:17 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2019 11:17:41 +0000 (04:17 -0700)
(cherry picked from commit 3038e87ba848023470f571242a8bb5a206c24430)

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

index 09a987ca32ace979244463e2aed0322e25956e88..be1af371d428a560bd48c1b233b34c490bd8cabe 100644 (file)
@@ -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