Functions | |
def | count |
def | main |
Variables | |
int | MAX_BCODE = 150 |
count(fn) - count the number of times each byte code appears in a code object.
def bcode::count | ( | fn | ) |
Compile the python source file named fn. Count all the bytecodes in the file. Return a list of counts indexed by bcode.
def bcode::main | ( | fn | ) |
Count the bytecodes in the file, fn, and print them out in human-readable form.