GH-104232: Fix statement about trace return values (GH-110516)

This commit is contained in:
Tian Gao 2023-10-18 13:24:00 -07:00 committed by GitHub
parent e6eb8cafca
commit d9246c7b73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1554,9 +1554,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.