File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1044,6 +1044,10 @@ All of the following opcodes use their arguments.
1044
1044
.. opcode :: LOAD_FAST (var_num)
1045
1045
1046
1046
Pushes a reference to the local ``co_varnames[var_num] `` onto the stack.
1047
+ Closures are also handled by this operation.
1048
+
1049
+ .. versionchanged :: 3.10
1050
+ Closures are handled here now instead of ``LOAD_CLOSURE `` (removed).
1047
1051
1048
1052
1049
1053
.. opcode :: STORE_FAST (var_num)
@@ -1056,13 +1060,6 @@ All of the following opcodes use their arguments.
1056
1060
Deletes local ``co_varnames[var_num] ``.
1057
1061
1058
1062
1059
- .. opcode :: LOAD_CLOSURE (i)
1060
-
1061
- Pushes a reference to the cell contained in slot *i * of the cell and free
1062
- variable storage. The name of the variable is
1063
- ``co_fastlocalnames[i + len(co_varnames)] ``.
1064
-
1065
-
1066
1063
.. opcode :: LOAD_DEREF (i)
1067
1064
1068
1065
Loads the cell contained in slot *i * of the cell and free variable storage.
You can’t perform that action at this time.
0 commit comments