[Python-checkins] r74364 - python/branches/tk_and_idle_maintenance/Lib/idlelib/PyShell.py
guilherme.polo
python-checkins at python.org
Thu Aug 13 06:22:38 CEST 2009
Author: guilherme.polo
Date: Thu Aug 13 06:22:37 2009
New Revision: 74364
Log:
typos.
Modified:
python/branches/tk_and_idle_maintenance/Lib/idlelib/PyShell.py
Modified: python/branches/tk_and_idle_maintenance/Lib/idlelib/PyShell.py
==============================================================================
--- python/branches/tk_and_idle_maintenance/Lib/idlelib/PyShell.py (original)
+++ python/branches/tk_and_idle_maintenance/Lib/idlelib/PyShell.py Thu Aug 13 06:22:37 2009
@@ -684,8 +684,8 @@
self.tkconsole.resetoutput()
self.checklinecache()
- type, value, tb = sys.exc_info()
- sys.last_type = type
+ typ, value, tb = sys.exc_info()
+ sys.last_type = typ
sys.last_value = value
sys.last_traceback = tb
tblist = traceback.extract_tb(tb)
@@ -697,7 +697,7 @@
traceback.print_list(first, file=sys.stderr)
if rest:
traceback.print_list(rest, file=sys.stdout)
- lines = traceback.format_exception_only(typ, val)
+ lines = traceback.format_exception_only(typ, value)
map(sys.stderr.write, lines)
if self.tkconsole.getvar("<<toggle-jit-stack-viewer>>"):
More information about the Python-checkins
mailing list