mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-46009: Remove GEN_START (GH-30367)
This commit is contained in:
parent
f404e26d74
commit
31e43cbe5f
10 changed files with 20 additions and 47 deletions
|
|
@ -1175,14 +1175,6 @@ All of the following opcodes use their arguments.
|
|||
Previously, this instruction also pushed a boolean value indicating
|
||||
success (``True``) or failure (``False``).
|
||||
|
||||
.. opcode:: GEN_START (kind)
|
||||
|
||||
Pops TOS. The ``kind`` operand corresponds to the type of generator or
|
||||
coroutine. The legal kinds are 0 for generator, 1 for coroutine,
|
||||
and 2 for async generator.
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
|
||||
.. opcode:: ROT_N (count)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue