commit | dd98e04c5737554ebf6a3fe4ff0be304e8ec537a | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Apr 02 17:43:07 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Apr 02 17:43:07 2009 +0000 |
tree | c8edb1b98fc237a87f3e8bf7b16745d76f0632b5 | |
parent | 52720c5455c3cfe200988aead6252e60ed507738 [diff] |
Actually the displayhook should print the repr.
diff --git a/Lib/pdb.py b/Lib/pdb.py index b00bbae..2f42b31 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py
@@ -206,7 +206,7 @@ """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:]