]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106168: Update PyList_SET_ITEM() What's New doc (#111618)
authorVictor Stinner <vstinner@python.org>
Wed, 1 Nov 2023 20:46:10 +0000 (21:46 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2023 20:46:10 +0000 (21:46 +0100)
Doc/whatsnew/3.13.rst

index b3fa06fc0d23eeed4c6d235b1f1edc80fba563ef..e5f39c58490b85e7d5a598baf42c66ee8c847f67 100644 (file)
@@ -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