document default value for fillvalue

This commit is contained in:
Benjamin Peterson 2008-07-25 17:02:11 +00:00
parent 612e29b722
commit 5255cba4bc
1 changed files with 4 additions and 3 deletions

View File

@ -368,9 +368,10 @@ loops that truncate the stream.
except IndexError: except IndexError:
pass pass
If one of the iterables is potentially infinite, then the :func:`izip_longest` If one of the iterables is potentially infinite, then the
function should be wrapped with something that limits the number of calls (for :func:`izip_longest` function should be wrapped with something that limits
example :func:`islice` or :func:`takewhile`). the number of calls (for example :func:`islice` or :func:`takewhile`). If
not specified, *fillvalue* defaults to ``None``.
.. versionadded:: 2.6 .. versionadded:: 2.6