Issues 2186 and 2187. Move map() from itertools to builtins.

This commit is contained in:
Raymond Hettinger 2008-03-13 01:26:19 +00:00
parent 17301e9fab
commit a6c6037f88
8 changed files with 158 additions and 203 deletions

View file

@ -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))