Kaydet (Commit) 7646f7ef authored tarafından Nick Coghlan's avatar Nick Coghlan

Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky)

üst 8ce7df67
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment