commit | 1f7ce62bd61488d5d721896a36a1b43befab88b5 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Fri Jan 13 21:43:40 2012 +1000 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Fri Jan 13 21:43:40 2012 +1000 |
tree | e7c92d4429ce431c78d0b7816c93862629590223 | |
parent | e51757f6de9db71b7ee0a6cbf7dde62e9f146804 [diff] [blame] |
Implement PEP 380 - 'yield from' (closes #11682)
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index cb429c8..5ba66cb 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst
@@ -431,6 +431,13 @@ 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