Fix unintended switch from a constant to a global in 56a3c0bc4634

This commit is contained in:
Raymond Hettinger 2013-10-28 02:39:04 -06:00
parent a6cbff086b
commit 9a2325fac8
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ def merge(*iterables):
while _len(h) > 1:
try:
while True:
while 1:
v, itnum, next = s = h[0]
yield v
s[0] = next() # raises StopIteration when exhausted