From: Nick Coghlan Date: Fri, 10 Sep 2010 12:24:24 +0000 (+0000) Subject: Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky) X-Git-Tag: v3.2a3~350 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7646f7ef4a727fdd9ab8460ad67d460fc2381d8e;p=python Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky) --- diff --git a/Lib/dis.py b/Lib/dis.py index a82d380c1f..290e7eeb62 100644 --- a/Lib/dis.py +++ b/Lib/dis.py @@ -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)