Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ef8caf

Browse filesBrowse files
[3.12] GH-104232: Fix statement about trace return values (GH-111047)
(cherry picked from commit d9246c7)
1 parent 228b124 commit 9ef8caf
Copy full SHA for 9ef8caf

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎Doc/library/sys.rst

Copy file name to clipboardExpand all lines: Doc/library/sys.rst
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,9 +1552,8 @@ always available.
15521552
function to be used for the new scope, or ``None`` if the scope shouldn't be
15531553
traced.
15541554

1555-
The local trace function should return a reference to itself (or to another
1556-
function for further tracing in that scope), or ``None`` to turn off tracing
1557-
in that scope.
1555+
The local trace function should return a reference to itself, or to another
1556+
function which would then be used as the local trace function for the scope.
15581557

15591558
If there is any error occurred in the trace function, it will be unset, just
15601559
like ``settrace(None)`` is called.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.