]> granicus.if.org Git - python/commitdiff
Issue 18301: The classmethod decorator didn't fit well with the rough-equivalent...
authorRaymond Hettinger <python@rcn.com>
Mon, 9 Sep 2013 06:54:27 +0000 (01:54 -0500)
committerRaymond Hettinger <python@rcn.com>
Mon, 9 Sep 2013 06:54:27 +0000 (01:54 -0500)
Doc/library/itertools.rst

index 0ee93edc9a1a11201bd3ba509f1be7f123e154e0..9b64c7d2d6e37b0927a29722a6e8f56e43f1be3d 100644 (file)
@@ -156,9 +156,8 @@ loops that truncate the stream.
 .. classmethod:: chain.from_iterable(iterable)
 
    Alternate constructor for :func:`chain`.  Gets chained inputs from a
-   single iterable argument that is evaluated lazily.  Equivalent to::
+   single iterable argument that is evaluated lazily.  Roughly equivalent to::
 
-      @classmethod
       def from_iterable(iterables):
           # chain.from_iterable(['ABC', 'DEF']) --> A B C D E F
           for it in iterables: