From b2734175642d84caf37ae792d6656bb26fbe964b 2012-05-12 20:42:45 From: Thomas Kluyver Date: 2012-05-12 20:42:45 Subject: [PATCH] Tweak description of failure. --- diff --git a/IPython/core/magic.py b/IPython/core/magic.py index d2b8f47..c6170f1 100644 --- a/IPython/core/magic.py +++ b/IPython/core/magic.py @@ -954,7 +954,7 @@ Currently the magic system has the following functions:\n""" vstr = unicode(var).encode(DEFAULT_ENCODING, 'backslashreplace') except: - vstr = "" % id(var) + vstr = "" % id(var) vstr = vstr.replace('\n','\\n') if len(vstr) < 50: print vstr