summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/itertools.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 5d3593e52c..13d3147827 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -368,9 +368,10 @@ loops that truncate the stream.
except IndexError:
pass
- If one of the iterables is potentially infinite, then the :func:`izip_longest`
- function should be wrapped with something that limits the number of calls (for
- example :func:`islice` or :func:`takewhile`).
+ If one of the iterables is potentially infinite, then the
+ :func:`izip_longest` function should be wrapped with something that limits
+ the number of calls (for example :func:`islice` or :func:`takewhile`). If
+ not specified, *fillvalue* defaults to ``None``.
.. versionadded:: 2.6