##// END OF EJS Templates
add __repr__ to MagicsDisplay
Michael Bianco -
Show More
@@ -40,6 +40,9 b' class MagicsDisplay(object):'
40 def _repr_pretty_(self, p, cycle):
40 def _repr_pretty_(self, p, cycle):
41 p.text(self._lsmagic())
41 p.text(self._lsmagic())
42
42
43 def __repr__(self):
44 return self.__str__()
45
43 def __str__(self):
46 def __str__(self):
44 return self._lsmagic()
47 return self._lsmagic()
45
48
General Comments 0
You need to be logged in to leave comments. Login now