Lines Matching refs:symbols
71 def __init__ (self, formatter, colors=diff_colors, symbols=diff_symbols):
74 self.symbols = symbols
91 if l[0] in self.symbols:
92 i = self.symbols.index (l[0])
103 return [s1+s2+self.formatter.newline () for (s1,s2) in zip (self.symbols, oo) if s2]
108 if l[0] not in self.symbols:
111 i = self.symbols.index (l[0])
132 def diff_files (files, symbols=diff_symbols):
142 sys.stdout.writelines ([symbols[i], l])