diff --git a/Doc/library/mimetypes.rst b/Doc/library/mimetypes.rst index 91e8c30f8607b3..966d9792ecb6f0 100644 --- a/Doc/library/mimetypes.rst +++ b/Doc/library/mimetypes.rst @@ -241,6 +241,14 @@ than one MIME-type database; it provides an interface similar to the one of the :data:`common_types` and :data:`types_map`. + .. method:: MimeTypes.add_type(type, ext, strict=True) + + Similar to the :func:`add_type` function, using the tables stored as part of + the object. + + .. versionadded:: 2.3 + + .. method:: MimeTypes.guess_extension(type, strict=True) Similar to the :func:`guess_extension` function, using the tables stored as part