Show More
@@ -2824,11 +2824,11 def _iterordered(ascending, iter1, iter2 | |||
|
2824 | 2824 | val1 = iter1.next() |
|
2825 | 2825 | if val2 is None: |
|
2826 | 2826 | val2 = iter2.next() |
|
2827 |
n |
|
|
2828 |
yield n |
|
|
2829 |
if val1 == n |
|
|
2827 | n = choice(val1, val2) | |
|
2828 | yield n | |
|
2829 | if val1 == n: | |
|
2830 | 2830 | val1 = None |
|
2831 |
if val2 == n |
|
|
2831 | if val2 == n: | |
|
2832 | 2832 | val2 = None |
|
2833 | 2833 | except StopIteration: |
|
2834 | 2834 | # Flush any remaining values and consume the other one |
General Comments 0
You need to be logged in to leave comments.
Login now