mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
merge
This commit is contained in:
commit
ee09458e08
1 changed files with 1 additions and 2 deletions
|
|
@ -157,9 +157,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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue