Skip to content

Commit 7043c40

Browse files
committed
-
1 parent 90a822d commit 7043c40

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source_py3/python_toolbox/cute_iter_tools.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ def izip_longest(*iterables, **kwargs):
177177
'''
178178
izip_longest(iter1 [,iter2 [...]], [fillvalue=None]) -> izip_longest object
179179
180-
Return an `izip_longest` object whose `.next()` method returns a `tuple`
181-
where the i-th element comes from the i-th iterable argument. The `.next()`
182-
method continues until the longest iterable in the argument sequence is
183-
exhausted and then it raises `StopIteration`. When the shorter iterables
184-
are exhausted, `fillvalue` is substituted in their place. The `fillvalue`
185-
defaults to `None` or can be specified by a keyword argument.
180+
Return an `izip_longest` object whose `.__next__()` method returns a
181+
`tuple` where the i-th element comes from the i-th iterable argument. The
182+
`.__next__()` method continues until the longest iterable in the argument
183+
sequence is exhausted and then it raises `StopIteration`. When the shorter
184+
iterables are exhausted, `fillvalue` is substituted in their place. The
185+
`fillvalue` defaults to `None` or can be specified by a keyword argument.
186186
'''
187187
# This is a really obfuscated algorithm, simplify and/or explain
188188
fill_value = kwargs.get('fillvalue', None)

0 commit comments

Comments
 (0)