Apr-09-2025, 11:47 AM
I read the changelog of Python 3.14-dev: https://docs.python.org/3.14/whatsnew/3....ge-changes and fond something interesting:
The docs of Python 3.13: https://docs.python.org/3/library/functions.html#map
Happy coding
Quote:The map() built-in now has an optional keyword-only strict flag like zip() to check that all the iterables are of equal length. (Contributed by Wannes Boeykens in gh-119793.)
The docs of Python 3.13: https://docs.python.org/3/library/functions.html#map
Quote:map(function, iterable, *iterables)
Return an iterator that applies function to every item of iterable, yielding the results. If additional iterables arguments are passed, function must take that many arguments and is applied to the items from all iterables in parallel. With multiple iterables, the iterator stops when the shortest iterable is exhausted. For cases where the function inputs are already arranged into argument tuples, see itertools.starmap().
Happy coding