diff options
author | Raymond Hettinger <python@rcn.com> | 2013-09-09 06:54:27 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-09-09 06:54:27 (GMT) |
commit | 1e21ebcc2ac1c74fbea6bbff0460227a90b8f594 (patch) | |
tree | 0796bbd28cbae40fb6dc9103a5fe845fc139472e /Doc | |
parent | c70018044304e4c68d5f2f036541cd8f6fe54555 (diff) | |
download | cpython-1e21ebcc2ac1c74fbea6bbff0460227a90b8f594.zip cpython-1e21ebcc2ac1c74fbea6bbff0460227a90b8f594.tar.gz cpython-1e21ebcc2ac1c74fbea6bbff0460227a90b8f594.tar.bz2 |
Issue 18301: The classmethod decorator didn't fit well with the rough-equivalent example code.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/itertools.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 0ee93ed..9b64c7d 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -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: |