Commit dd98e04c authored by Georg Brandl's avatar Georg Brandl

Actually the displayhook should print the repr.

parent 52720c54
......@@ -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:]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment