summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-05-06 12:50:52 (GMT)
committerGitHub <noreply@github.com>2024-05-06 12:50:52 (GMT)
commitd6fa1d4beef2bf9d83048469667e0ba5f2b41068 (patch)
treeb66abf9ee52374b128c494d1443445f817aec702 /Misc
parentd3c7821335f88d92297622ad1ec17b33b9baf5cd (diff)
downloadcpython-d6fa1d4beef2bf9d83048469667e0ba5f2b41068.zip
cpython-d6fa1d4beef2bf9d83048469667e0ba5f2b41068.tar.gz
cpython-d6fa1d4beef2bf9d83048469667e0ba5f2b41068.tar.bz2
gh-66543: Add mimetypes.guess_file_type() (GH-117258)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-03-26-15-29-39.gh-issue-66543.OZBhU5.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-03-26-15-29-39.gh-issue-66543.OZBhU5.rst b/Misc/NEWS.d/next/Library/2024-03-26-15-29-39.gh-issue-66543.OZBhU5.rst
new file mode 100644
index 0000000..12ea508
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-03-26-15-29-39.gh-issue-66543.OZBhU5.rst
@@ -0,0 +1,3 @@
+Add the :func:`mimetypes.guess_file_type` function which works with file
+path. Passing file path instead of URL in :func:`~mimetypes.guess_type` is
+:term:`soft deprecated`.