mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky)
This commit is contained in:
parent
8ce7df67de
commit
7646f7ef4a
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ import types
|
|||
from opcode import *
|
||||
from opcode import __all__ as _opcodes_all
|
||||
|
||||
__all__ = ["dis", "disassemble", "distb", "disco",
|
||||
"findlinestarts", "findlabels"] + _opcodes_all
|
||||
__all__ = ["code_info", "dis", "disassemble", "distb", "disco",
|
||||
"findlinestarts", "findlabels", "show_code"] + _opcodes_all
|
||||
del _opcodes_all
|
||||
|
||||
_have_code = (types.MethodType, types.FunctionType, types.CodeType, type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue