mirror of
https://github.com/romanz/amodem.git
synced 2026-02-24 16:18:12 +08:00
common: pep8 fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user