Searched refs:fromlines (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Tools/scripts/ |
D | diff.py | 44 fromlines = ff.readlines() 49 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 51 diff = difflib.ndiff(fromlines, tolines) 53 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 55 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
|
/third_party/python/Lib/ |
D | difflib.py | 1340 def _mdiff(fromlines, tolines, context=None, linejunk=None, argument 1380 diff_lines_iterator = ndiff(fromlines,tolines,linejunk,charjunk) 1540 fromlines,tolines=[],[] 1543 while (len(fromlines)==0 or len(tolines)==0): 1549 fromlines.append((from_line,found_diff)) 1553 from_line, fromDiff = fromlines.pop(0) 1705 def make_file(self, fromlines, tolines, fromdesc='', todesc='', argument 1727 table=self.make_table(fromlines, tolines, fromdesc, todesc, 1732 def _tab_newline_replace(self,fromlines,tolines): argument 1751 fromlines = [expand_tabs(line) for line in fromlines] [all …]
|
/third_party/python/Doc/library/ |
D | difflib.rst | 111 .. method:: make_file(fromlines, tolines, fromdesc='', todesc='', context=False, \ 114 Compares *fromlines* and *tolines* (lists of strings) and returns a string which 139 .. method:: make_table(fromlines, tolines, fromdesc='', todesc='', context=False, numlines=5) 141 Compares *fromlines* and *tolines* (lists of strings) and returns a string which
|