summaryrefslogtreecommitdiffstats
path: root/Lib/bdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r--Lib/bdb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index 8a722fe..66d3457 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -217,8 +217,9 @@ class Bdb: # Basic Debugger
#
- def format_stack_entry(self, (frame, lineno)):
+ def format_stack_entry(self, frame_lineno):
import codehack, linecache, repr, string
+ frame, lineno = frame_lineno
filename = frame.f_code.co_filename
s = filename + '(' + `lineno` + ')'
s = s + codehack.getcodename(frame.f_code)