diff options
author | Georg Brandl <georg@python.org> | 2009-04-02 17:43:07 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-02 17:43:07 (GMT) |
commit | dd98e04c5737554ebf6a3fe4ff0be304e8ec537a (patch) | |
tree | c8edb1b98fc237a87f3e8bf7b16745d76f0632b5 /Lib/pdb.py | |
parent | 52720c5455c3cfe200988aead6252e60ed507738 (diff) | |
download | cpython-dd98e04c5737554ebf6a3fe4ff0be304e8ec537a.zip cpython-dd98e04c5737554ebf6a3fe4ff0be304e8ec537a.tar.gz cpython-dd98e04c5737554ebf6a3fe4ff0be304e8ec537a.tar.bz2 |
Actually the displayhook should print the repr.
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ class Pdb(bdb.Bdb, cmd.Cmd): """Custom displayhook for the exec in default(), which prevents assignment of the _ variable in the builtins. """ - print obj + print repr(obj) def default(self, line): if line[:1] == '!': line = line[1:] |