summaryrefslogtreecommitdiff
path: root/Objects/exception_handling_notes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/exception_handling_notes.txt')
-rw-r--r--Objects/exception_handling_notes.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/exception_handling_notes.txt b/Objects/exception_handling_notes.txt
index e738c2781a..a136358f90 100644
--- a/Objects/exception_handling_notes.txt
+++ b/Objects/exception_handling_notes.txt
@@ -23,7 +23,7 @@ compiles as follows in 3.10:
3 2 LOAD_GLOBAL 0 (g)
4 LOAD_CONST 1 (0)
- 6 CALL_FUNCTION 1
+ 6 CALL_NO_KW 1
8 POP_TOP
10 POP_BLOCK
12 LOAD_CONST 0 (None)
@@ -47,7 +47,7 @@ a table to determine where to jump to when an exception is raised.
3 2 LOAD_GLOBAL 0 (g)
4 LOAD_CONST 1 (0)
- 6 CALL_FUNCTION 1
+ 6 CALL_NO_KW 1
8 POP_TOP
10 LOAD_CONST 0 (None)
12 RETURN_VALUE
@@ -68,7 +68,7 @@ ExceptionTable:
(Note this code is from an early 3.11 alpha, the NOP may well have be removed before release).
If an instruction raises an exception then its offset is used to find the target to jump to.
-For example, the CALL_FUNCTION at offset 6, falls into the range 2 to 8.
+For example, the CALL_NO_KW at offset 6, falls into the range 2 to 8.
So, if g() raises an exception, then control jumps to offset 14.