summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-11-01 20:46:10 (GMT)
committerGitHub <noreply@github.com>2023-11-01 20:46:10 (GMT)
commit821a7ac493120b6d5065598cfa835ab3f25965cb (patch)
tree2e29bb6596dc15192db3a77baed543dc442b34e9 /Doc
parent45a36d5f569fc50d37c2d4ca1ea0c611ebc40379 (diff)
downloadcpython-821a7ac493120b6d5065598cfa835ab3f25965cb.zip
cpython-821a7ac493120b6d5065598cfa835ab3f25965cb.tar.gz
cpython-821a7ac493120b6d5065598cfa835ab3f25965cb.tar.bz2
gh-106168: Update PyList_SET_ITEM() What's New doc (#111618)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.13.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index b3fa06f..e5f39c5 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -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