summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-29 14:36:11 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-29 14:36:11 (GMT)
commit933b974a41d388d2fca359f910cc958ca3e7c539 (patch)
treeb494b7fa45269c1b43bcc1d5b5cfb41f9ff26459 /Doc
parent436ccdc7e7600247011b5b779968e485c928caa6 (diff)
downloadcpython-933b974a41d388d2fca359f910cc958ca3e7c539.zip
cpython-933b974a41d388d2fca359f910cc958ca3e7c539.tar.gz
cpython-933b974a41d388d2fca359f910cc958ca3e7c539.tar.bz2
Use correct directive and name.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/itertools.rst2
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::