Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72318b9

Browse files
committed
Issue #20500: clarify that invocation may be indirect
1 parent c0bc0b4 commit 72318b9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/whatsnew/3.4.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,8 +1716,9 @@ Changes in the C API
17161716
because it has already been saved locally with :c:func:`PyErr_Fetch` or
17171717
is being deliberately replaced with a different exception), an explicit
17181718
:c:func:`PyErr_Clear` call will be needed to avoid triggering the
1719-
assertion when running against a version of Python that is compiled with
1720-
assertions enabled.
1719+
assertion when invoking these operations (directly or indirectly) and
1720+
running against a version of Python that is compiled with assertions
1721+
enabled.
17211722

17221723
* :c:func:`PyErr_SetImportError` now sets :exc:`TypeError` when its **msg**
17231724
argument is not set. Previously only ``NULL`` was returned with no exception

0 commit comments

Comments
 (0)