Home
last modified time | relevance | path

Searched refs:lineterm (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_difflib.py214 ud = difflib.unified_diff(*args, lineterm='')
218 cd = difflib.context_diff(*args, lineterm='')
225 ud = difflib.unified_diff(*args, lineterm='')
228 cd = difflib.context_diff(*args, lineterm='')
/external/python/cpython2/Lib/
Ddifflib.py1157 tofiledate='', n=3, lineterm='\n'): argument
1203 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm)
1204 yield '+++ {}{}{}'.format(tofile, todate, lineterm)
1209 yield '@@ -{} +{} @@{}'.format(file1_range, file2_range, lineterm)
1241 fromfiledate='', tofiledate='', n=3, lineterm='\n'): argument
1290 yield '*** {}{}{}'.format(fromfile, fromdate, lineterm)
1291 yield '--- {}{}{}'.format(tofile, todate, lineterm)
1294 yield '***************' + lineterm
1297 yield '*** {} ****{}'.format(file1_range, lineterm)
1306 yield '--- {} ----{}'.format(file2_range, lineterm)
/external/parameter-framework/upstream/test/xml-generator/
Dtest.py84 lineterm="")
/external/python/cpython2/Tools/i18n/
Dpygettext.py254 lineterm = '\\n"\n"'
255 s = '""\n"' + lineterm.join(lines) + '"'
/external/python/cpython2/Modules/
D_csv.c986 char *lineterm; in join_append_data() local
1003 lineterm = PyString_AsString(dialect->lineterminator); in join_append_data()
1004 if (lineterm == NULL) in join_append_data()
1028 strchr(lineterm, c)) { in join_append_data()
/external/python/cpython2/Lib/lib2to3/
Dmain.py23 lineterm="")
/external/python/cpython2/Doc/library/
Ddifflib.rst139 .. function:: context_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm
154 For inputs that do not have trailing newlines, set the *lineterm* argument to
273 .. function:: unified_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm
289 For inputs that do not have trailing newlines, set the *lineterm* argument to