Skip to content

Commit 619f371

Browse files
committed
Clarify docs for types_map and types_map_inv on mimetypes.MimeTypes
1 parent 03017a8 commit 619f371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/mimetypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,15 @@ than one MIME-type database; it provides an interface similar to the one of the
232232
Tuple containing two dictionaries, mapping filename extensions to MIME types:
233233
the first dictionary is for the non-standards types and the second one is for
234234
the standard types. They are initialized by :data:`common_types` and
235-
:data:`types_map`.
235+
:data:`types_map` or by :func:`init`, or by :func:`init` calls.
236236

237237

238238
.. attribute:: MimeTypes.types_map_inv
239239

240240
Tuple containing two dictionaries, mapping MIME types to a list of filename
241241
extensions: the first dictionary is for the non-standards types and the
242242
second one is for the standard types. They are initialized by
243-
:data:`common_types` and :data:`types_map`.
243+
:data:`common_types` and :data:`types_map`, or by :func:`init` calls.
244244

245245

246246
.. method:: MimeTypes.guess_extension(type, strict=True)

0 commit comments

Comments
 (0)