summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 62d2150..9665e8d 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -1170,9 +1170,8 @@ All of the following opcodes use their arguments.
.. opcode:: GEN_START (kind)
- Pops TOS. If TOS was not ``None``, raises an exception. The ``kind``
- operand corresponds to the type of generator or coroutine and determines
- the error message. The legal kinds are 0 for generator, 1 for coroutine,
+ 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