Skip to content

Commit 4284e06

Browse files
authored
Clarify that PY_UNWIND includes directly raised exceptions
1 parent 236cd17 commit 4284e06

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/sys.monitoring.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ The following events are supported:
137137

138138
.. monitoring-event:: PY_UNWIND
139139

140-
Exit from a Python function during exception unwinding.
140+
Exit from a Python function during exception unwinding. This includes exceptions raised directly within the
141+
function and that are allowed to continue to propagate.
141142

142143
.. monitoring-event:: PY_YIELD
143144

0 commit comments

Comments
 (0)