[3.11] GH-104232: Fix statement about trace return values (GH-111045)

(cherry picked from commit d9246c7b73)
This commit is contained in:
Miss Islington (bot) 2023-10-18 22:34:20 +02:00 committed by GitHub
parent 8e3d90c332
commit faa7c207bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1520,9 +1520,8 @@ always available.
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
in that scope.
The local trace function should return a reference to itself, or to another
function which would then be used as the local trace function for the scope.
If there is any error occurred in the trace function, it will be unset, just
like ``settrace(None)`` is called.