Skip to content

MimeTypes.add_type() is missing from the docs #121658

Closed
@steverep

Description

@steverep

Bug report

Bug description:

from mimetypes import MimeTypes

m = MimeTypes()
m.add_type # type checking error

The add_type method is not defined on the class interface, and also not defined in the RST file for the docs.

CPython versions tested on:

3.8, 3.9, 3.10, 3.11, 3.12, 3.13, CPython main branch

Operating systems tested on:

Linux, macOS, Windows

Linked PRs

Metadata

Metadata

Assignees

Labels

3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesdocsDocumentation in the Doc direasy

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions