diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-16 07:12:44 +0000 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-16 07:12:44 +0000 |
commit | 5b23a9d57f31858e07dd625698e30764cf34733e (patch) | |
tree | b52e556ede891dd3e2a2af5d5bc51e82b6fb43d4 /Lib/bdb.py | |
parent | 1ccd09e44a8540802c45f918d2ef548e4999b8d7 (diff) | |
download | cpython-5b23a9d57f31858e07dd625698e30764cf34733e.tar.gz |
Rename the repr module to reprlib.
Merged revisions 63357 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63357 | alexandre.vassalotti | 2008-05-16 02:58:49 -0400 (Fri, 16 May 2008) | 2 lines
Changed references to the reprlib module to use its new name.
........
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r-- | Lib/bdb.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py index b8a20ece55..747e0929f0 100644 --- a/Lib/bdb.py +++ b/Lib/bdb.py @@ -324,7 +324,7 @@ class Bdb: # def format_stack_entry(self, frame_lineno, lprefix=': '): - import linecache, repr + import linecache, reprlib frame, lineno = frame_lineno filename = self.canonic(frame.f_code.co_filename) s = '%s(%r)' % (filename, lineno) @@ -337,13 +337,13 @@ class Bdb: else: args = None if args: - s = s + repr.repr(args) + s = s + reprlib.repr(args) else: s = s + '()' if '__return__' in frame.f_locals: rv = frame.f_locals['__return__'] s = s + '->' - s = s + repr.repr(rv) + s = s + reprlib.repr(rv) line = linecache.getline(filename, lineno) if line: s = s + lprefix + line.strip() return s |