diff options
| author | Adam Williamson <adam@blueradius.ca> | 2024-06-15 05:33:09 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-15 05:33:09 (GMT) |
| commit | d4039d3f6f8cb7738c5cd272dde04171446dfd2b (patch) | |
| tree | f4a252755431cbd656975f59dcbb41d0d4755229 /Python/bltinmodule.c | |
| parent | 5c58e728b1391c258b224fc6d88f62f42c725026 (diff) | |
| download | cpython-d4039d3f6f8cb7738c5cd272dde04171446dfd2b.zip cpython-d4039d3f6f8cb7738c5cd272dde04171446dfd2b.tar.gz cpython-d4039d3f6f8cb7738c5cd272dde04171446dfd2b.tar.bz2 | |
gh-120526: Correct signature of map() builtin (GH-120528)
map() requires at least one iterable arg.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
Diffstat (limited to 'Python/bltinmodule.c')
| -rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index c4d3ecb..6e50623 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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\ |
