Staging: this is not the live site, pydocs.org.
dis
Symbols in dis
b
- Bytecode
- The bytecode operations of a piece of code
c
- cmp_op
- Sequence of all compare operation names.
- code_info
- Formatted details of methods, functions, or code.
d
- dis
- Disassemble classes, methods, functions, and other compiled objects.
- disco
- Disassemble a code object.
- distb
- Disassemble a traceback (default: last traceback).
f
- findlabels
- Detect all offsets in a byte code which are jump targets.
- findlinestarts
- Find the offsets in a byte code which are start of lines in the source.
h
- hasarg
- Sequence of bytecodes that use their argument.
- hascompare
- Sequence of bytecodes of Boolean operations.
- hasconst
- Sequence of bytecodes that access a constant.
- hasexc
- Sequence of bytecodes that set an exception handler.
- hasfree
- Sequence of bytecodes that access a free (closure) variable.
- hasjabs
- Sequence of bytecodes that have an absolute jump target.
- hasjrel
- Sequence of bytecodes that have a relative jump target.
- hasjump
- Sequence of bytecodes that have a jump target.
- haslocal
- Sequence of bytecodes that access a local variable.
- hasname
- Sequence of bytecodes that access an attribute by name.
o
- opmap
- Dictionary mapping operation names to bytecodes.
- opname
- Sequence of operation names, indexable using the bytecode.
p
- Positions
- Positions(lineno, end_lineno, col_offset, end_col_offset)
s
- show_code
- Print details of methods, functions, or code to *file*.