From: Xiang Zhang Date: Sun, 28 Jan 2018 14:54:42 +0000 (+0800) Subject: Fix PyTrace_RETURN documentation (GH-5384) X-Git-Tag: v3.7.0b1~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79db11ce99332d62917be9d03b31494b1ff2f96a;p=python Fix PyTrace_RETURN documentation (GH-5384) It will be triggered when propagating an exception. --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 33cb02d8c9..02189a9e35 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -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