Skip to content

Commit 3255866

Browse files
committed
kw-only the 'color' arg
1 parent bffdd71 commit 3255866

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/difflib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ def _format_range_unified(start, stop):
10951095
return '{},{}'.format(beginning, length)
10961096

10971097
def unified_diff(a, b, fromfile='', tofile='', fromfiledate='',
1098-
tofiledate='', n=3, lineterm='\n', color=False):
1098+
tofiledate='', n=3, lineterm='\n', *, color=False):
10991099
r"""
11001100
Compare two sequences of lines; generate the delta as a unified diff.
11011101

0 commit comments

Comments
 (0)