diff options
author | Nice Zombies <nineteendo19d0@gmail.com> | 2024-11-04 14:00:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-04 14:00:19 (GMT) |
commit | 3032fcd90ecb745b737cbc93f694f9a802062a3a (patch) | |
tree | 24708afe3029ea00fd9ef72e0295593a90168f5d /Misc/NEWS.d | |
parent | bfc1d2504c183a9464e65c290e48516d176ea41f (diff) | |
download | cpython-3032fcd90ecb745b737cbc93f694f9a802062a3a.zip cpython-3032fcd90ecb745b737cbc93f694f9a802062a3a.tar.gz cpython-3032fcd90ecb745b737cbc93f694f9a802062a3a.tar.bz2 |
gh-119793: Add optional length-checking to `map()` (GH-120471)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core_and_Builtins/2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst new file mode 100644 index 0000000..976d671 --- /dev/null +++ b/Misc/NEWS.d/next/Core_and_Builtins/2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst @@ -0,0 +1,3 @@ +The :func:`map` built-in now has an optional keyword-only *strict* flag +like :func:`zip` to check that all the iterables are of equal length. +Patch by Wannes Boeykens. |