##// END OF EJS Templates
Formatting
Wim Jeantine-Glenn -
Show More
@@ -724,8 +724,15 b' class _ReFlags:'
724
724
725 def _repr_pretty_(self, p, cycle):
725 def _repr_pretty_(self, p, cycle):
726 done_one = False
726 done_one = False
727 for flag in ('IGNORECASE', 'LOCALE', 'MULTILINE', 'DOTALL',
727 for flag in (
728 'UNICODE', 'VERBOSE', 'DEBUG'):
728 "IGNORECASE",
729 "LOCALE",
730 "MULTILINE",
731 "DOTALL",
732 "UNICODE",
733 "VERBOSE",
734 "DEBUG",
735 ):
729 if self.value & getattr(re, flag):
736 if self.value & getattr(re, flag):
730 if done_one:
737 if done_one:
731 p.text('|')
738 p.text('|')
General Comments 0
You need to be logged in to leave comments. Login now