summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2010-09-10 12:24:24 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2010-09-10 12:24:24 (GMT)
commit7646f7ef4a727fdd9ab8460ad67d460fc2381d8e (patch)
tree314d4b2ec12510ba39e0a55041a3934a14f1c777
parent8ce7df67de0e4eedbd57a16bff384bb3c6faf2de (diff)
downloadcpython-7646f7ef4a727fdd9ab8460ad67d460fc2381d8e.zip
cpython-7646f7ef4a727fdd9ab8460ad67d460fc2381d8e.tar.gz
cpython-7646f7ef4a727fdd9ab8460ad67d460fc2381d8e.tar.bz2
Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky)
-rw-r--r--Lib/dis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index a82d380..290e7ee 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)