mirror of
https://github.com/python/cpython
synced 2026-09-28 03:33:18 +03:00
gh-66543: Add mimetypes.guess_file_type() (GH-117258)
This commit is contained in:
parent
d3c7821335
commit
d6fa1d4bee
8 changed files with 129 additions and 35 deletions
|
|
@ -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`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue