Skip to content

Commit 79db11c

Browse files
authored
Fix PyTrace_RETURN documentation (GH-5384)
It will be triggered when propagating an exception.
1 parent 4d02966 commit 79db11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ Python-level trace functions in previous versions.
13321332
.. c:var:: int PyTrace_RETURN
13331333
13341334
The value for the *what* parameter to :c:type:`Py_tracefunc` functions when a
1335-
call is returning without propagating an exception.
1335+
call is about to return.
13361336
13371337
13381338
.. c:var:: int PyTrace_C_CALL

0 commit comments

Comments
 (0)