improved prompt format
diff --git a/Lib/bdb.py b/Lib/bdb.py
index 9b50767..7642ed0 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -242,7 +242,7 @@
#
- def format_stack_entry(self, frame_lineno):
+ def format_stack_entry(self, frame_lineno, lprefix=': '):
import linecache, repr, string
frame, lineno = frame_lineno
filename = frame.f_code.co_filename
@@ -260,7 +260,7 @@
s = s + '->'
s = s + repr.repr(rv)
line = linecache.getline(filename, lineno)
- if line: s = s + ': ' + string.strip(line)
+ if line: s = s + lprefix + string.strip(line)
return s
# The following two methods can be called by clients to use