Skip to content

Commit

Permalink
pythongh-106168: Update PyList_SET_ITEM() What's New doc (python#111618)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored and aisk committed Feb 11, 2024
1 parent d2fd318 commit c829473
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/whatsnew/3.13.rst
Expand Up @@ -1040,7 +1040,8 @@ New Features
* If Python is built in :ref:`debug mode <debug-build>` or :option:`with
assertions <--with-assertions>`, :c:func:`PyTuple_SET_ITEM` and
:c:func:`PyList_SET_ITEM` now check the index argument with an assertion.
If the assertion fails, make sure that the size is set before.
If the assertion fails in :c:func:`PyTuple_SET_ITEM`, make sure that the
tuple size is set before.
(Contributed by Victor Stinner in :gh:`106168`.)

* Add :c:func:`PyModule_Add` function: similar to
Expand Down

0 comments on commit c829473

Please sign in to comment.