mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Implement PEP 380 - 'yield from' (closes #11682)
This commit is contained in:
parent
e51757f6de
commit
1f7ce62bd6
33 changed files with 872 additions and 421 deletions
|
@ -431,6 +431,13 @@ the stack so that it is available for further iterations of the loop.
|
|||
Pops ``TOS`` and yields it from a :term:`generator`.
|
||||
|
||||
|
||||
.. opcode:: YIELD_FROM
|
||||
|
||||
Pops ``TOS`` and delegates to it as a subiterator from a :term:`generator`.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
|
||||
.. opcode:: IMPORT_STAR
|
||||
|
||||
Loads all symbols not starting with ``'_'`` directly from the module TOS to the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue