diff options
author | Xiang Zhang <angwerzx@126.com> | 2018-01-28 14:54:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-28 14:54:42 (GMT) |
commit | 79db11ce99332d62917be9d03b31494b1ff2f96a (patch) | |
tree | 2cd7e23c483941799b8ef77fecc74c6a632e3c7a | |
parent | 4d0296649a48ff9dbc290394ff656cf3dea86107 (diff) | |
download | cpython-79db11ce99332d62917be9d03b31494b1ff2f96a.zip cpython-79db11ce99332d62917be9d03b31494b1ff2f96a.tar.gz cpython-79db11ce99332d62917be9d03b31494b1ff2f96a.tar.bz2 |
Fix PyTrace_RETURN documentation (GH-5384)
It will be triggered when propagating an exception.
-rw-r--r-- | Doc/c-api/init.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 33cb02d..02189a9 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 |