common: pep8 fix

This commit is contained in:
Roman Zeyde
2014-09-21 17:23:33 +03:00
parent 504c1db541
commit e9972c7ef2

View File

@@ -61,6 +61,7 @@ def split(iterable, n):
iterables = itertools.tee(iterable, n)
return [_gen(it, index) for index, it in enumerate(iterables)]
def icapture(iterable, result):
for i in iter(iterable):
result.append(i)