mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Move itertools izip() code to builtins as zip(). Complete the renaming.
This commit is contained in:
parent
c5a2eb949c
commit
736c0ab428
11 changed files with 281 additions and 476 deletions
|
@ -79,7 +79,7 @@ class IterFuncStop:
|
|||
def __next__(self):
|
||||
raise StopIteration
|
||||
|
||||
from itertools import chain, map
|
||||
from itertools import chain
|
||||
def itermulti(seqn):
|
||||
'Test multiple tiers of iterators'
|
||||
return chain(map(lambda x:x, iterfunc(IterGen(Sequence(seqn)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue