Use correct directive and name.
authorGeorg Brandl <georg@python.org>
Thu, 29 Jul 2010 14:36:11 +0000 (14:36 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 29 Jul 2010 14:36:11 +0000 (14:36 +0000)
Doc/library/itertools.rst

index 7326712af9e83e9b0e52d84e120af498298d0f8b..8037bfe996c5d016876d09b7652816edcac69378 100644 (file)
@@ -99,7 +99,7 @@ loops that truncate the stream.
                   yield element
 
 
-.. function:: itertools.chain.from_iterable(iterable)
+.. classmethod:: chain.from_iterable(iterable)
 
    Alternate constructor for :func:`chain`.  Gets chained inputs from a
    single iterable argument that is evaluated lazily.  Equivalent to::