Skip to content

Commit

Permalink
pythongh-120526: Correct signature of map() builtin (pythonGH-120528)
Browse files Browse the repository at this point in the history
map() requires at least one iterable arg.

Signed-off-by: Adam Williamson <[email protected]>
  • Loading branch information
AdamWill authored and mrahtz committed Jun 30, 2024
1 parent b27cc03 commit 67b2a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/bltinmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand Down

0 comments on commit 67b2a02

Please sign in to comment.