summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorTushar Sadhwani <tushar.sadhwani000@gmail.com>2024-09-10 15:07:30 (GMT)
committerGitHub <noreply@github.com>2024-09-10 15:07:30 (GMT)
commit3597642ed57d184511ca2dbd1a382ffe8e280ac4 (patch)
treeef753d92fbd15a9e79f3891ac025c4be690b9a68 /Misc/NEWS.d/next
parent07f0bf5aa4ca34e692c16e14129d79c161ee206f (diff)
downloadcpython-3597642ed57d184511ca2dbd1a382ffe8e280ac4.zip
cpython-3597642ed57d184511ca2dbd1a382ffe8e280ac4.tar.gz
cpython-3597642ed57d184511ca2dbd1a382ffe8e280ac4.tar.bz2
gh-122239: Add actual count in unbalanced unpacking error message when possible (#122244)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Core_and_Builtins/2024-07-25-01-45-21.gh-issue-122239.7zh-sW.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-07-25-01-45-21.gh-issue-122239.7zh-sW.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-07-25-01-45-21.gh-issue-122239.7zh-sW.rst
new file mode 100644
index 0000000..3e8116b
--- /dev/null
+++ b/Misc/NEWS.d/next/Core_and_Builtins/2024-07-25-01-45-21.gh-issue-122239.7zh-sW.rst
@@ -0,0 +1,3 @@
+When a :class:`list`, :class:`tuple` or :class:`dict`
+with too many elements is unpacked, show the actual
+length in the error message.