KOS_OP_ATTR_CLEAR
Style: CONST. Arg = constant pool index of attribute name.
Stack:
[..., obj] → [...]. Delete attribute.Invariants: TOS is the object.
Example: Delete obj.attr. Pool: 0 = “attr”.
index |
opcode |
arg |
arg view |
comment |
|---|---|---|---|---|
0 |
VAR |
0 |
0 (‘obj’) |
stack: […, obj] |
1 |
ATTR_CLEAR |
1 |
1 (‘attr’) |
del obj.attr |