[Python-checkins] r84669 - python/branches/py3k/Lib/dis.py

nick.coghlan python-checkins at python.org
Fri Sep 10 14:24:24 CEST 2010


Author: nick.coghlan
Date: Fri Sep 10 14:24:24 2010
New Revision: 84669
Log:
Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky)
Modified:
 python/branches/py3k/Lib/dis.py
Modified: python/branches/py3k/Lib/dis.py
==============================================================================
--- python/branches/py3k/Lib/dis.py	(original)
+++ python/branches/py3k/Lib/dis.py	Fri Sep 10 14:24:24 2010
@@ -6,8 +6,8 @@
 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)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /