Index: code.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/code.py,v retrieving revision 1.22 diff -r1.22 code.py 151,159c151 < sys.last_type = type < sys.last_value = value < sys.last_traceback = tb < tblist = traceback.extract_tb(tb) < del tblist[:1] < list = traceback.format_list(tblist) < if list: < list.insert(0, "Traceback (most recent call last):\n") < list[len(list):] = traceback.format_exception_only(type, value) ---> sys.excepthook(type, value, tb.tb_next) 161,162c153 < tblist = tb = None < map(self.write, list) ---> tb = None

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