/external/python/cpython2/Tools/scripts/ |
D | diff.py | 36 fromlines = f.readlines() 41 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 43 diff = difflib.ndiff(fromlines, tolines) 45 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 47 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
|
/external/python/cpython3/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)
|
/external/python/cpython2/Lib/ |
D | difflib.py | 1350 def _mdiff(fromlines, tolines, context=None, linejunk=None, argument 1390 diff_lines_iterator = ndiff(fromlines,tolines,linejunk,charjunk) 1553 fromlines,tolines=[],[] 1556 while (len(fromlines)==0 or len(tolines)==0): 1559 fromlines.append((from_line,found_diff)) 1563 from_line, fromDiff = fromlines.pop(0) 1709 def make_file(self,fromlines,tolines,fromdesc='',todesc='',context=False, argument 1730 table = self.make_table(fromlines,tolines,fromdesc,todesc, 1733 def _tab_newline_replace(self,fromlines,tolines): argument 1752 fromlines = [expand_tabs(line) for line in fromlines] [all …]
|
/external/python/cpython3/Lib/ |
D | difflib.py | 1381 def _mdiff(fromlines, tolines, context=None, linejunk=None, argument 1421 diff_lines_iterator = ndiff(fromlines,tolines,linejunk,charjunk) 1581 fromlines,tolines=[],[] 1584 while (len(fromlines)==0 or len(tolines)==0): 1590 fromlines.append((from_line,found_diff)) 1594 from_line, fromDiff = fromlines.pop(0) 1746 def make_file(self, fromlines, tolines, fromdesc='', todesc='', argument 1768 table=self.make_table(fromlines, tolines, fromdesc, todesc, 1773 def _tab_newline_replace(self,fromlines,tolines): argument 1792 fromlines = [expand_tabs(line) for line in fromlines] [all …]
|
/external/python/cpython2/Doc/library/ |
D | difflib.rst | 104 .. function:: make_file(fromlines, tolines [, fromdesc][, todesc][, context][, numlines]) 106 Compares *fromlines* and *tolines* (lists of strings) and returns a string which 124 .. function:: make_table(fromlines, tolines [, fromdesc][, todesc][, context][, numlines]) 126 Compares *fromlines* and *tolines* (lists of strings) and returns a string which 761 fromlines = f.readlines() 766 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, 769 diff = difflib.ndiff(fromlines, tolines) 771 diff = difflib.HtmlDiff().make_file(fromlines, tolines, fromfile, 775 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile,
|
/external/python/cpython3/Doc/library/ |
D | difflib.rst | 110 .. method:: make_file(fromlines, tolines, fromdesc='', todesc='', context=False, \ 113 Compares *fromlines* and *tolines* (lists of strings) and returns a string which 134 .. method:: make_table(fromlines, tolines, fromdesc='', todesc='', context=False, numlines=5) 136 Compares *fromlines* and *tolines* (lists of strings) and returns a string which
|