From: Benjamin Peterson Date: Fri, 25 Jul 2008 17:02:11 +0000 (+0000) Subject: document default value for fillvalue X-Git-Tag: v2.6b3~232 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5255cba4bc64c1571a167ce2b297f19ff0238899;p=thirdparty%2FPython%2Fcpython.git document default value for fillvalue --- diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 5d3593e52cac..13d3147827b5 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