Searched refs:ndiff (Results 1 - 7 of 7) sorted by relevance
/third_party/python/Tools/scripts/ |
H A D | diff.py | 4 * ndiff: lists every line and highlights interline changes. 30 help='Produce a ndiff format diff') 51 diff = difflib.ndiff(fromlines, tolines)
|
H A D | ndiff.py | 3 # Module ndiff version 1.7.0 9 # ndiff.py is now simply a front-end to the difflib.ndiff() function. 14 """ndiff [-q] file1 file2 16 ndiff (-r1 | -r2) < ndiff_output > file1_or_file2 20 (-r1) or file2 (-r2) on stdout, from an ndiff report on stdin. 40 " " or "- ", and deleting those 2-character prefixes; use ndiff with -r1. 43 "+ " lines; use ndiff with -r2; or, on Unix, the second file can be 76 for line in difflib.ndiff(a, b): 116 # read ndiff outpu [all...] |
/third_party/python/Lib/unittest/ |
H A D | case.py | 1056 difflib.ndiff(pprint.pformat(seq1).splitlines(), 1168 diff = ('\n' + '\n'.join(difflib.ndiff( 1251 diff = '\n' + ''.join(difflib.ndiff(firstlines, secondlines))
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
H A D | text_format_test.py | 65 ''.join(difflib.ndiff(golden_lines, actual_lines)))
|
/third_party/python/Lib/ |
H A D | difflib.py | 10 Function ndiff(a, b): 14 Return one of the two sequences that generated an ndiff delta. 29 __all__ = ['get_close_matches', 'ndiff', 'restore', 'SequenceMatcher', 1026 # With respect to junk, an earlier version of ndiff simply refused to 1031 # not starting with junk is "e Thread currentThread". So ndiff reported 1038 # following blank; then "Thread" is matched; and finally ndiff reports 1303 def ndiff(a, b, linejunk=None, charjunk=IS_CHARACTER_JUNK): function 1321 Tools/scripts/ndiff.py is a command-line front-end to this function. 1325 >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True), 1349 linejunk -- passed on to ndiff (se [all...] |
/third_party/python/Lib/test/ |
H A D | test_sys_settrace.py | 353 "\n".join(difflib.ndiff([str(x) for x in expected_events],
|
/third_party/python/Lib/unittest/test/ |
H A D | test_case.py | 835 diff = '\n'.join(difflib.ndiff(pprint.pformat(seq1).splitlines(),
|
Completed in 11 milliseconds