From 933b974a41d388d2fca359f910cc958ca3e7c539 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 29 Jul 2010 14:36:11 +0000 Subject: [PATCH] Use correct directive and name. --- Doc/library/itertools.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 7326712af9..8037bfe996 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:: -- 2.50.1