24 @param whitespace flag indicating to highlight whitespace |
24 @param whitespace flag indicating to highlight whitespace |
25 at the end of a line (boolean) |
25 at the end of a line (boolean) |
26 """ |
26 """ |
27 self.whitespace = whitespace |
27 self.whitespace = whitespace |
28 |
28 |
29 super(GitDiffHighlighter, self).__init__(doc) |
29 super().__init__(doc) |
30 |
30 |
31 def generateRules(self): |
31 def generateRules(self): |
32 """ |
32 """ |
33 Public method to generate the rule set. |
33 Public method to generate the rule set. |
34 """ |
34 """ |