mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
#4222: document dis.findlabels() and dis.findlinestarts() and
put them into dis.__all__.
This commit is contained in:
parent
2adde0551a
commit
775c307068
2 changed files with 17 additions and 3 deletions
|
|
@ -6,7 +6,8 @@ import types
|
|||
from opcode import *
|
||||
from opcode import __all__ as _opcodes_all
|
||||
|
||||
__all__ = ["dis","disassemble","distb","disco"] + _opcodes_all
|
||||
__all__ = ["dis", "disassemble", "distb", "disco",
|
||||
"findlinestarts", "findlabels"] + _opcodes_all
|
||||
del _opcodes_all
|
||||
|
||||
def dis(x=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue