Skip to content

Commit 821a7ac

Browse files
authored
gh-106168: Update PyList_SET_ITEM() What's New doc (#111618)
1 parent 45a36d5 commit 821a7ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/whatsnew/3.13.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,8 @@ New Features
10401040
* If Python is built in :ref:`debug mode <debug-build>` or :option:`with
10411041
assertions <--with-assertions>`, :c:func:`PyTuple_SET_ITEM` and
10421042
:c:func:`PyList_SET_ITEM` now check the index argument with an assertion.
1043-
If the assertion fails, make sure that the size is set before.
1043+
If the assertion fails in :c:func:`PyTuple_SET_ITEM`, make sure that the
1044+
tuple size is set before.
10441045
(Contributed by Victor Stinner in :gh:`106168`.)
10451046

10461047
* Add :c:func:`PyModule_Add` function: similar to

0 commit comments

Comments
 (0)