bcode Namespace Reference
Python Byte Code utility functions.
More...
|
Functions |
def | count |
def | main |
Variables |
int | MAX_BCODE = 150 |
Detailed Description
Python Byte Code utility functions.
count(fn) - count the number of times each byte code appears in a code object.
Function Documentation
Compile the python source file named fn.
Count all the bytecodes in the file.
Return a list of counts indexed by bcode.
Definition at line 40 of file bcode.py.
Count the bytecodes in the file, fn,
and print them out in human-readable form.
Definition at line 90 of file bcode.py.