D | difflib.py | 1095 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument 1136 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1144 yield '+++ {}{}{}'.format(tofile, todate, lineterm) 1180 def context_diff(a, b, fromfile='', tofile='', argument 1224 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1233 yield '--- {}{}{}'.format(tofile, todate, lineterm) 1273 def diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', argument 1294 tofile = decode(tofile) 1299 lines = dfunc(a, b, fromfile, tofile, fromfiledate, tofiledate, n, lineterm)
|