mirror of https://github.com/python/cpython
Use correct directive and name.
This commit is contained in:
parent
436ccdc7e7
commit
933b974a41
|
@ -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::
|
||||
|
|
Loading…
Reference in New Issue