Show More
@@ -954,7 +954,7 b' Currently the magic system has the following functions:\\n"""' | |||
|
954 | 954 | vstr = unicode(var).encode(DEFAULT_ENCODING, |
|
955 | 955 | 'backslashreplace') |
|
956 | 956 | except: |
|
957 |
vstr = "<object with id %d ( |
|
|
957 | vstr = "<object with id %d (str() failed)>" % id(var) | |
|
958 | 958 | vstr = vstr.replace('\n','\\n') |
|
959 | 959 | if len(vstr) < 50: |
|
960 | 960 | print vstr |
General Comments 0
You need to be logged in to leave comments.
Login now