mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issues 2186 and 2187. Move map() from itertools to builtins.
This commit is contained in:
parent
17301e9fab
commit
a6c6037f88
8 changed files with 158 additions and 203 deletions
|
@ -9,6 +9,7 @@ from functools import reduce
|
|||
maxsize = test_support.MAX_Py_ssize_t
|
||||
minsize = -maxsize-1
|
||||
ifilter = filter
|
||||
imap = map
|
||||
|
||||
def lzip(*args):
|
||||
return list(zip(*args))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue