From: Georg Brandl Date: Thu, 29 Jul 2010 14:36:11 +0000 (+0000) Subject: Use correct directive and name. X-Git-Tag: v3.2a1~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=933b974a41d388d2fca359f910cc958ca3e7c539;p=thirdparty%2FPython%2Fcpython.git Use correct directive and name. --- diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 7326712af9e8..8037bfe996c5 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::