On this page
dis.disco
Prev: dis.disassemble | Up: dis | Next: dis.distb
Rel: dis.Bytecode, dis.code_info, dis.dis, dis.disassemble
Ref: docs.python.org — dis.disco
Tags: #public #python3 #stdlib #dis
Import
import dis
from dis import disco
Signature & Overview
dis.disco(co, lasti=-1, *, file=None, show_caches=False, adaptive=False, show_offsets=False, show_positions=False)
Disassemble a code object.
Usage
import dis
assert dis.disco is dis.disassemble
Gotchas
- Alias for
dis.disassemble().
REPL Inspect
from dis import disco
help(disco)
Linked from
Related notes
- tuts/python3/stdlib_module/dis/Bytecode Linked here; links to this page; shared tags: #dis, #stdlib
- tuts/python3/stdlib_module/dis/code_info Linked here; links to this page; shared tags: #dis, #stdlib
- tuts/python3/stdlib_module/dis/dis Linked here; links to this page; shared tags: #dis, #stdlib
- tuts/python3/stdlib_module/dis/disassemble Linked here; links to this page; shared tags: #dis, #stdlib
- tuts/python3/stdlib_module/dis/distb Linked here; links to this page; shared tags: #dis, #stdlib
- tuts/python3/stdlib_module/dis links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/dis/findlabels shared tags: #dis, #stdlib
- tuts/python3/stdlib_module/dis/findlinestarts shared tags: #dis, #stdlib
- tuts/python3/stdlib_module/dis/get_instructions shared tags: #dis, #stdlib
- tuts/python3/stdlib_module/dis/Instruction shared tags: #dis, #stdlib