mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
rather than passing locals to the class body, just execute the class body in the proper environment
This commit is contained in:
parent
e914123d1f
commit
e8e14591eb
10 changed files with 3143 additions and 3175 deletions
|
|
@ -596,12 +596,6 @@ the stack so that it is available for further iterations of the loop.
|
|||
.. XXX explain the WHY stuff!
|
||||
|
||||
|
||||
.. opcode:: STORE_LOCALS
|
||||
|
||||
Pops TOS from the stack and stores it as the current frame's ``f_locals``.
|
||||
This is used in class construction.
|
||||
|
||||
|
||||
All of the following opcodes expect arguments. An argument is two bytes, with
|
||||
the more significant byte last.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue