diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2010-09-10 12:24:24 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2010-09-10 12:24:24 (GMT) |
commit | 7646f7ef4a727fdd9ab8460ad67d460fc2381d8e (patch) | |
tree | 314d4b2ec12510ba39e0a55041a3934a14f1c777 /Lib | |
parent | 8ce7df67de0e4eedbd57a16bff384bb3c6faf2de (diff) | |
download | cpython-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)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/dis.py | 4 |
1 files changed, 2 insertions, 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) |