diff options
| author | David K. Hess <david_k_hess@mac.com> | 2019-06-24 18:46:59 -0500 |
|---|---|---|
| committer | Steve Dower <steve.dower@python.org> | 2019-06-24 16:46:59 -0700 |
| commit | 9fc720e5e4f772598013ea48a3f0d22b2b6b04fa (patch) | |
| tree | bd315319d2b3ffdccd71a812ef7b7c1d7035bef9 /Doc | |
| parent | 8bd2872adbbc7ed5dd0a7593193c52431ae34c8d (diff) | |
| download | cpython-git-9fc720e5e4f772598013ea48a3f0d22b2b6b04fa.tar.gz | |
bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-3062)
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/library/mimetypes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/mimetypes.rst b/Doc/library/mimetypes.rst index 5728407cb3..f610032acb 100644 --- a/Doc/library/mimetypes.rst +++ b/Doc/library/mimetypes.rst @@ -93,6 +93,10 @@ behavior of the module. Specifying an empty list for *files* will prevent the system defaults from being applied: only the well-known values will be present from a built-in list. + If *files* is ``None`` the internal data structure is completely rebuilt to its + initial default value. This is a stable operation and will produce the same results + when called multiple times. + .. versionchanged:: 3.2 Previously, Windows registry settings were ignored. |
