File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
source_py3/python_toolbox Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments