better_diff.unified_plus
A unified+ format based on the standard difflib.unified_diff.
Functions
|
Return a unified+ diff between two strings. |
Module Contents
- better_diff.unified_plus.format_diff(a, b, fromfile='a', tofile='b')[source]
Return a unified+ diff between two strings.
- Parameters:
a (str) – The first string to compare.
b (str) – The second string to compare.
fromfile (str) – The name of the first file.
tofile (str) – The name of the second file.
- Return type:
str