Skip to content

Commit 235882c

Browse files
committed
transition to upstream cPython difflib unified_diff function
1 parent 2f5ffec commit 235882c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fdiff/diff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python3
22

33
import asyncio
4+
from difflib import unified_diff
45
import os
56
from multiprocessing import Pool, cpu_count
67
import shlex
@@ -14,7 +15,7 @@
1415
_get_filepath_from_url,
1516
create_async_get_request_session_and_run,
1617
)
17-
from fdiff.thirdparty.fdifflib import unified_diff
18+
1819
from fdiff.utils import get_file_modtime
1920

2021

@@ -23,7 +24,6 @@
2324
# Private functions
2425
#
2526
#
26-
# TODO: add docstrings for all private functions
2727

2828

2929
def _async_fetch_files(dirpath, urls):

0 commit comments

Comments
 (0)