summaryrefslogtreecommitdiff
path: root/Lib/code.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-12-27 19:12:58 +0000
committerGuido van Rossum <guido@python.org>2000-12-27 19:12:58 +0000
commitc570a0ba3547d597da05f75cea3f8cb68b50f274 (patch)
tree0c54fe7d3060218e93aa4dc5ab7dd0099e2e90b4 /Lib/code.py
parent2394b5c2634be28b2ec1fe172cc17de7a5c5dc5b (diff)
downloadcpython-c570a0ba3547d597da05f75cea3f8cb68b50f274.tar.gz
Make Traceback header conform to new traceback ("innermost last" ->
"most recent call last").
Diffstat (limited to 'Lib/code.py')
-rw-r--r--Lib/code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/code.py b/Lib/code.py
index 5f65b7c994..9ef6322731 100644
--- a/Lib/code.py
+++ b/Lib/code.py
@@ -141,7 +141,7 @@ class InteractiveInterpreter:
del tblist[:1]
list = traceback.format_list(tblist)
if list:
- list.insert(0, "Traceback (innermost last):\n")
+ list.insert(0, "Traceback (most recent call last):\n")
list[len(list):] = traceback.format_exception_only(type, value)
finally:
tblist = tb = None