File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,18 @@ module field which would start with a #. And it is not a line number
161161or label listed in the last section. We've seen examples of
162162instructions above.
163163
164- Instructions start with an opcode and will have an operand depending
165- on whether the opcode requires one or not. However as we've seen above
164+ Opcodes
165+ +++++++
166+
167+ Instructions start with an opcode name like ``LOAD_CONST ``. The specific opcode names used depends on the Python version you are using.
168+ So make sure to consult the "opcodes" section of the "dis" module documentation for the version of Python listed at the top of the metadata section.
169+
170+
171+ Operands
172+ ++++++++
173+
174+ An instruction may also have an operand depending
175+ on whether the opcode requires one or not. However as we've seen above,
166176the operands can take a couple of forms. The operand can be a number
167177which represents a bytecode offset, or an index into one of the method
168178lists like the Constants, or Names list. I don't recommend though that
You can’t perform that action at this time.
0 commit comments