[Python-Dev] Is there a reference manual for Python bytecode?
Erik
python at lucidity.plus.com
Sat Dec 26 17:51:17 EST 2015
Hi Joe,
On 26/12/15 22:36, Joe Jevnik wrote:
> The number and meaning of the arguments are documented in the dis
> module: https://docs.python.org/3.6/library/dis.html
OK - I *did* find that, but perhaps didn't immediately understand what
it was telling me.
So, something documented as "OP_CODE" is a 1-byte op, something
documented as "OP_CODE(foo)" is a 2-byte op - and unless I missed one,
there are no 3-byte ops?
Thanks,
E.
More information about the Python-Dev
mailing list