##// END OF EJS Templates
Fix pretty reprs of super objects
Thomas Kluyver -
Show More
@@ -678,7 +678,7 b' def _dict_pprinter_factory(start, end, basetype=None):'
678 def _super_pprint(obj, p, cycle):
678 def _super_pprint(obj, p, cycle):
679 """The pprint for the super type."""
679 """The pprint for the super type."""
680 p.begin_group(8, '<super: ')
680 p.begin_group(8, '<super: ')
681 p.pretty(obj.__self_class__)
681 p.pretty(obj.__thisclass__)
682 p.text(',')
682 p.text(',')
683 p.breakable()
683 p.breakable()
684 p.pretty(obj.__self__)
684 p.pretty(obj.__self__)
General Comments 0
You need to be logged in to leave comments. Login now