summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-01-04 10:37:12 (GMT)
committerGitHub <noreply@github.com>2022-01-04 10:37:12 (GMT)
commita94461d7189d7f1147ab304a332c8684263dc17e (patch)
treebda2df4f74cc58205d548dce76337260984962fd /Doc/library
parenta09062c267a94200ad299f779429fea1b571ee35 (diff)
downloadcpython-a94461d7189d7f1147ab304a332c8684263dc17e.zip
cpython-a94461d7189d7f1147ab304a332c8684263dc17e.tar.gz
cpython-a94461d7189d7f1147ab304a332c8684263dc17e.tar.bz2
bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302)
* bpo-46202: remove opcode POP_EXCEPT_AND_RERAISE * do not assume that an exception group is truthy
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst10
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 14de191..87ec584 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -603,16 +603,6 @@ iterations of the loop.
The ``__exit__`` function is in position 4 of the stack rather than 7.
Exception representation on the stack now consist of one, not three, items.
-.. opcode:: POP_EXCEPT_AND_RERAISE
-
- Pops the exception currently on top of the stack. Pops the integer value on top
- of the stack and sets the ``f_lasti`` attribute of the frame with that value.
- Then pops the next exception from the stack uses it to restore the current exception.
- Finally it re-raises the originally popped exception.
- Used in exception handler cleanup.
-
- .. versionadded:: 3.11
-
.. opcode:: LOAD_ASSERTION_ERROR