summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-01-28 15:33:23 (GMT)
committerXiang Zhang <angwerzx@126.com>2018-01-28 15:33:23 (GMT)
commit33febfb03998598a35f97b4ef66d33a2d43716cd (patch)
tree01fb23911d0d67b18bd477a4735f3c846cff7216 /Doc/c-api
parentb3b4b81d0147534151941105eba4af984acdc763 (diff)
downloadcpython-33febfb03998598a35f97b4ef66d33a2d43716cd.zip
cpython-33febfb03998598a35f97b4ef66d33a2d43716cd.tar.gz
cpython-33febfb03998598a35f97b4ef66d33a2d43716cd.tar.bz2
Fix PyTrace_RETURN documentation (GH-5384) (GH-5386)
It will be triggered when propagating an exception. (cherry picked from commit 79db11ce99332d62917be9d03b31494b1ff2f96a)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index bc92c3e..c8d429d 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -1110,7 +1110,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