]> granicus.if.org Git - python/commitdiff
Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky)
authorNick Coghlan <ncoghlan@gmail.com>
Fri, 10 Sep 2010 12:24:24 +0000 (12:24 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Fri, 10 Sep 2010 12:24:24 +0000 (12:24 +0000)
Lib/dis.py

index a82d380c1fca08657bfbad9b349fcd766d39ac2c..290e7eeb62837dbe9f65854d68db065e74b4d18c 100644 (file)
@@ -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)