diff options
author | Georg Brandl <georg@python.org> | 2010-07-29 14:36:11 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-29 14:36:11 (GMT) |
commit | 933b974a41d388d2fca359f910cc958ca3e7c539 (patch) | |
tree | b494b7fa45269c1b43bcc1d5b5cfb41f9ff26459 /Doc/library/itertools.rst | |
parent | 436ccdc7e7600247011b5b779968e485c928caa6 (diff) | |
download | cpython-933b974a41d388d2fca359f910cc958ca3e7c539.zip cpython-933b974a41d388d2fca359f910cc958ca3e7c539.tar.gz cpython-933b974a41d388d2fca359f910cc958ca3e7c539.tar.bz2 |
Use correct directive and name.
Diffstat (limited to 'Doc/library/itertools.rst')
-rw-r--r-- | Doc/library/itertools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 7326712..8037bfe 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -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:: |