summaryrefslogtreecommitdiffstats
path: root/Doc/library/itertools.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/itertools.rst')
-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 3320d99..2d7e756 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -295,9 +295,10 @@ loops that truncate the stream.
except IndexError:
pass
- If one of the iterables is potentially infinite, then the :func:`zip_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``.
.. function:: permutations(iterable[, r])