From 256f03befb1f144340e11bc6eee92d3afd84ee23 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 5 Sep 2019 04:31:50 -0700 Subject: Correct minor gramatical mistake in sys.settrace doc (GH-15637) (cherry picked from commit 3038e87ba848023470f571242a8bb5a206c24430) Co-authored-by: Andre Delfino --- Doc/library/sys.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index e54f252..121464f 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -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 -- cgit v0.12