[Python-checkins] Fix PyTrace_RETURN documentation (GH-5384)
Xiang Zhang
webhook-mailer at python.org
Sun Jan 28 09:54:44 EST 2018
https://github.com/python/cpython/commit/79db11ce99332d62917be9d03b31494b1ff2f96a
commit: 79db11ce99332d62917be9d03b31494b1ff2f96a
branch: master
author: Xiang Zhang <angwerzx at 126.com>
committer: GitHub <noreply at github.com>
date: 2018-01-28T22:54:42+08:00
summary:
Fix PyTrace_RETURN documentation (GH-5384)
It will be triggered when propagating an exception.
files:
M Doc/c-api/init.rst
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 33cb02d8c9cc..02189a9e3591 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
More information about the Python-checkins
mailing list