diff options
author | Guido van Rossum <guido@python.org> | 1992-12-14 12:57:56 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-12-14 12:57:56 +0000 |
commit | f5b61d4a6188eb5f5f52467b84838d0654f3d0af (patch) | |
tree | c93404611fb1495f466ccd5695b8e80cfab870a1 /Lib/bdb.py | |
parent | 8819c353e2f31befaa63a950f78ae52cc74dd31c (diff) | |
download | cpython-f5b61d4a6188eb5f5f52467b84838d0654f3d0af.tar.gz |
* Got entirely rid of path.py.
* Many modules: fixes for new, stricter, argument passing rules
(most changes were automatic ones -- not all of this is tested!).
* gwin.py: now uses mainloop.py for its main loop and window admin.
* mainloop.py: always call dispatch() with event as a tuple!
* Fix bug in pdb's 'clear' command -- don't set the bpt but clear it!
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r-- | Lib/bdb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py index 8a722fe3f2..66d3457c6b 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) |