Use correct directive and name.

This commit is contained in:
Georg Brandl 2010-07-29 14:36:11 +00:00
parent 436ccdc7e7
commit 933b974a41
1 changed files with 1 additions and 1 deletions

View 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::