diff options
author | Pieter Eendebak <pieter.eendebak@gmail.com> | 2024-06-10 11:06:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-10 11:06:18 (GMT) |
commit | c3b6dbff2c8886de1edade737febe85dd47ff4d0 (patch) | |
tree | 17d7a14f7e1c9bf239f1a38ccf7eb24d303c6745 /Misc | |
parent | b90bd3e5bbc136f53b24ee791824acd6b17e0d42 (diff) | |
download | cpython-c3b6dbff2c8886de1edade737febe85dd47ff4d0.zip cpython-c3b6dbff2c8886de1edade737febe85dd47ff4d0.tar.gz cpython-c3b6dbff2c8886de1edade737febe85dd47ff4d0.tar.bz2 |
gh-115801: Only allow sequence of strings as input for difflib.unified_diff (GH-118333)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2024-04-27-18-36-46.gh-issue-115801.SVeHSy.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-04-27-18-36-46.gh-issue-115801.SVeHSy.rst b/Misc/NEWS.d/next/Core and Builtins/2024-04-27-18-36-46.gh-issue-115801.SVeHSy.rst new file mode 100644 index 0000000..93b176d --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2024-04-27-18-36-46.gh-issue-115801.SVeHSy.rst @@ -0,0 +1 @@ +Raise ``TypeError`` when passing a string to :func:`difflib.unified_diff` and :func:`difflib.context_diff`. |