From 5255cba4bc64c1571a167ce2b297f19ff0238899 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 25 Jul 2008 17:02:11 +0000 Subject: [PATCH] document default value for fillvalue --- Doc/library/itertools.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 5d3593e52ca..13d3147827b 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