]> granicus.if.org Git - python/commitdiff
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
authorAndre Delfino <adelfino@gmail.com>
Thu, 5 Sep 2019 11:10:37 +0000 (08:10 -0300)
committerVictor Stinner <vstinner@redhat.com>
Thu, 5 Sep 2019 11:10:37 +0000 (13:10 +0200)
Doc/library/sys.rst

index 6119bee10ab39713ef6033e51f57ce5eb5b40ae8..01df026a6e8a7b3c4012b3a1e88f33946934a25a 100644 (file)
@@ -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