]> granicus.if.org Git - python/commitdiff
Fix PyTrace_RETURN documentation (GH-5384)
authorXiang Zhang <angwerzx@126.com>
Sun, 28 Jan 2018 14:54:42 +0000 (22:54 +0800)
committerGitHub <noreply@github.com>
Sun, 28 Jan 2018 14:54:42 +0000 (22:54 +0800)
It will be triggered when propagating an exception.

Doc/c-api/init.rst

index 33cb02d8c9ccd16c11d3cda326e712304e077ecc..02189a9e35915c5f050ba24540e38fc6b0b277f3 100644 (file)
@@ -1332,7 +1332,7 @@ Python-level trace functions in previous versions.
 .. c:var:: int PyTrace_RETURN
 
    The value for the *what* parameter to :c:type:`Py_tracefunc` functions when a
-   call is returning without propagating an exception.
+   call is about to return.
 
 
 .. c:var:: int PyTrace_C_CALL