[Python-checkins] Fix PyTrace_RETURN documentation (GH-5384) (GH-5387)

Xiang Zhang webhook-mailer at python.org
Sun Jan 28 10:49:16 EST 2018


https://github.com/python/cpython/commit/5679277fdde2d001ffa439559e2078590332baf2
commit: 5679277fdde2d001ffa439559e2078590332baf2
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Xiang Zhang <angwerzx at 126.com>
date: 2018-01-28T23:49:14+08:00
summary:

Fix PyTrace_RETURN documentation (GH-5384) (GH-5387)

It will be triggered when propagating an exception.
(cherry picked from commit 79db11ce99332d62917be9d03b31494b1ff2f96a)

files:
M Doc/c-api/init.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index f091ac81dae9..229cae5244ab 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -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



More information about the Python-checkins mailing list