Home
last modified time | relevance | path

Searched refs:ndiff (Results 1 – 14 of 14) sorted by relevance

/third_party/python/Tools/scripts/
Dndiff.py76 for line in difflib.ndiff(a, b):
Ddiff.py51 diff = difflib.ndiff(fromlines, tolines)
DREADME15 diff.py Print file diffs in context, unified, or ndiff formats
43 ndiff.py Intelligent diff between text files (Tim Peters)
/third_party/python/Doc/library/
Ddifflib.rst105 *linejunk* and *charjunk* are optional keyword arguments passed into :func:`ndiff`
107 :func:`ndiff` documentation for argument default values and descriptions.
222 .. function:: ndiff(a, b, linejunk=None, charjunk=IS_CHARACTER_JUNK)
243 :file:`Tools/scripts/ndiff.py` is a command-line front-end to this function.
245 >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
263 Given a *sequence* produced by :meth:`Differ.compare` or :func:`ndiff`, extract
269 >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
344 default for parameter *linejunk* in :func:`ndiff` in older versions.
351 parameter *charjunk* in :func:`ndiff`.
Ddoctest.rst645 algorithm as the popular :file:`ndiff.py` utility. This is the only method that
/third_party/python/Lib/unittest/
Dcase.py1028 difflib.ndiff(pprint.pformat(seq1).splitlines(),
1140 diff = ('\n' + '\n'.join(difflib.ndiff(
1224 diff = '\n' + ''.join(difflib.ndiff(firstlines, secondlines))
/third_party/python/Lib/
Ddifflib.py1303 def ndiff(a, b, linejunk=None, charjunk=IS_CHARACTER_JUNK): function
1380 diff_lines_iterator = ndiff(fromlines,tolines,linejunk,charjunk)
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dtext_format_test.py65 ''.join(difflib.ndiff(golden_lines, actual_lines)))
/third_party/python/Lib/test/
Dtest_sys_settrace.py350 "\n".join(difflib.ndiff([str(x) for x in expected_events],
/third_party/python/Lib/unittest/test/
Dtest_case.py808 diff = '\n'.join(difflib.ndiff(pprint.pformat(seq1).splitlines(),
/third_party/python/Doc/whatsnew/
D2.2.rst1023 lines of text. There are also two generator functions, :func:`ndiff` and
1026 from ndiff.py code by Tim Peters who then did the generatorization.)
D2.1.rst620 :file:`Tools/scripts/ndiff.py` demonstrates how to write such a script.
/third_party/python/Misc/
DHISTORY19857 - The text file comparison scripts ``ndiff.py`` and ``diff.py`` now
21510 - diff.py prints file diffs in context, unified, or ndiff formats,
22978 than the IS_LINE_JUNK function, and function ndiff's linejunk
24145 - difflib.ndiff() and difflib.Differ.compare() are generators now. This
24146 restores the ability of Tools/scripts/ndiff.py to start producing output
24220 variant of ndiff-style comparison is used to report all differences.
24526 - New class Differ and new functions ndiff() and restore() in difflib.py.
24527 These package the algorithms used by the popular Tools/scripts/ndiff.py,
25219 class at the heart of the popular ndiff.py file-comparison tool.
27370 * Tools/scripts/ndiff.py: Tim Peters writes:
[all …]
/third_party/chromium/patch/
D0001-cve.patch124492 -# diff = difflib.ndiff(res, exp)