]> granicus.if.org Git - python/commitdiff
Fix PyTrace_RETURN documentation (GH-5384) (GH-5387)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 28 Jan 2018 15:49:14 +0000 (07:49 -0800)
committerXiang Zhang <angwerzx@126.com>
Sun, 28 Jan 2018 15:49:14 +0000 (23:49 +0800)
It will be triggered when propagating an exception.
(cherry picked from commit 79db11ce99332d62917be9d03b31494b1ff2f96a)

Doc/c-api/init.rst

index f091ac81dae9d9781890cc16d551adf2a31aec6e..229cae5244abcfa44fe8008e8b595b413160c32d 100644 (file)
@@ -1030,7 +1030,7 @@ 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