[Python-checkins] Correct minor gramatical mistake in sys.settrace doc (GH-15637)
Victor Stinner
webhook-mailer at python.org
Thu Sep 5 07:10:53 EDT 2019
https://github.com/python/cpython/commit/3038e87ba848023470f571242a8bb5a206c24430
commit: 3038e87ba848023470f571242a8bb5a206c24430
branch: master
author: Andre Delfino <adelfino at gmail.com>
committer: Victor Stinner <vstinner at redhat.com>
date: 2019-09-05T13:10:37+02:00
summary:
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
files:
M Doc/library/sys.rst
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 6119bee10ab3..01df026a6e8a 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
More information about the Python-checkins
mailing list