summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-25 17:02:11 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-25 17:02:11 (GMT)
commit5255cba4bc64c1571a167ce2b297f19ff0238899 (patch)
tree155538c4db815ac49c857f55ffa83b1bebfd6d2d /Doc
parent612e29b72267a7cb4682bf822ce6398b0e00e0d3 (diff)
downloadcpython-5255cba4bc64c1571a167ce2b297f19ff0238899.zip
cpython-5255cba4bc64c1571a167ce2b297f19ff0238899.tar.gz
cpython-5255cba4bc64c1571a167ce2b297f19ff0238899.tar.bz2
document default value for fillvalue
Diffstat (limited to 'Doc')
-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 5d3593e..13d3147 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