[3.13] gh-120526: Correct signature of map() builtin (GH-120528) (GH-120539)

map() requires at least one iterable arg.

(cherry picked from commit d4039d3f6f)

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Co-authored-by: Adam Williamson <adam@blueradius.ca>
This commit is contained in:
Miss Islington (bot) 2024-06-15 07:59:37 +02:00 committed by GitHub
parent 3c88898a69
commit 9f0269d6ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1475,7 +1475,7 @@ static PyMethodDef map_methods[] = {
PyDoc_STRVAR(map_doc,
"map(function, /, *iterables)\n\
"map(function, iterable, /, *iterables)\n\
--\n\
\n\
Make an iterator that computes the function using arguments from\n\