Skip to content

Commit 3586616

Browse files
gh-118150: Update difflib Differ for keyword-only argument
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent e4cd72a commit 3586616

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
@@ -1368,7 +1368,7 @@ def ndiff(a, b, linejunk=None, charjunk=IS_CHARACTER_JUNK, *, autojunk=True):
13681368
+ tree
13691369
+ emu
13701370
"""
1371-
return Differ(linejunk, charjunk, autojunk).compare(a, b)
1371+
return Differ(linejunk, charjunk, autojunk=autojunk).compare(a, b)
13721372

13731373
def _mdiff(fromlines, tolines, context=None, linejunk=None,
13741374
charjunk=IS_CHARACTER_JUNK, autojunk=True):

0 commit comments

Comments
 (0)