File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ the information :func:`init` sets up.
47
47
The optional *strict * argument is a flag specifying whether the list of known MIME types
48
48
is limited to only the official types `registered with IANA
49
49
<https://www.iana.org/assignments/media-types/media-types.xhtml> `_.
50
- When *strict * is ``True `` (the default), only the IANA types are supported; when
51
- *strict * is ``False ``, some additional non-standard but commonly used MIME types
52
- are also recognized.
50
+ However, the behavior of this module also depends on the underlying operating
51
+ system. Only file types recognized by the OS or explicitly registered with
52
+ Python's internal database can be identified. When *strict * is ``True `` (the
53
+ default), only the IANA types are supported; when *strict * is ``False ``, some
54
+ additional non-standard but commonly used MIME types are also recognized.
53
55
54
56
.. versionchanged :: 3.8
55
57
Added support for *url * being a :term: `path-like object `.
You can’t perform that action at this time.
0 commit comments