[Python-checkins] r65226 - python/trunk/Doc/library/itertools.rst

benjamin.peterson python-checkins at python.org
Fri Jul 25 19:02:11 CEST 2008


Author: benjamin.peterson
Date: Fri Jul 25 19:02:11 2008
New Revision: 65226

Log:
document default value for fillvalue

Modified:
   python/trunk/Doc/library/itertools.rst

Modified: python/trunk/Doc/library/itertools.rst
==============================================================================
--- python/trunk/Doc/library/itertools.rst	(original)
+++ python/trunk/Doc/library/itertools.rst	Fri Jul 25 19:02:11 2008
@@ -368,9 +368,10 @@
           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
 


More information about the Python-checkins mailing list