##// END OF EJS Templates
small tweak to do syntax highlighting on objectinspect
John Bohannon -
Show More
@@ -564,7 +564,10 b' class Inspector:'
564 564 for title, key in fields:
565 565 field = info[key]
566 566 if field is not None:
567 displayfields.append((title, field.rstrip()))
567 if key == "source":
568 displayfields.append((title, self.format(cast_unicode(field.rstrip()))))
569 else:
570 displayfields.append((title, field.rstrip()))
568 571
569 572 if info['isalias']:
570 573 add_fields([('Repr', "string_form")])
General Comments 0
You need to be logged in to leave comments. Login now