summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_heapq.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-03-13 02:09:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-03-13 02:09:15 (GMT)
commit736c0ab428e69b1be67bd91969477e5227613241 (patch)
tree59193c21fa061c593f7eb264f19bcd406239a63d /Lib/test/test_heapq.py
parentc5a2eb949c5c19ed6d4dcada55ac970b5cc6c123 (diff)
downloadcpython-736c0ab428e69b1be67bd91969477e5227613241.zip
cpython-736c0ab428e69b1be67bd91969477e5227613241.tar.gz
cpython-736c0ab428e69b1be67bd91969477e5227613241.tar.bz2
Move itertools izip() code to builtins as zip(). Complete the renaming.
Diffstat (limited to 'Lib/test/test_heapq.py')
-rw-r--r--Lib/test/test_heapq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py
index 7969d6e..1e21736 100644
--- a/Lib/test/test_heapq.py
+++ b/Lib/test/test_heapq.py
@@ -260,7 +260,7 @@ class S:
def __next__(self):
raise StopIteration
-from itertools import chain, map
+from itertools import chain
def L(seqn):
'Test multiple tiers of iterators'
return chain(map(lambda x:x, R(Ig(G(seqn)))))