Skip to content

gh-115075: Fix info about initialization of mimetypes.MimeTypes attributes#150691

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:docs-mimetypes-defaults
Open

gh-115075: Fix info about initialization of mimetypes.MimeTypes attributes#150691
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:docs-mimetypes-defaults

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented May 31, 2026

They are no longer depended on the current value of global variables since Python 3.9 (see gh-49213).

… attributes

They are no longer depended on the current value of global variables since
Python 3.9 (see pythongh-49213).
@serhiy-storchaka serhiy-storchaka requested a review from a team as a code owner May 31, 2026 20:07
@serhiy-storchaka serhiy-storchaka added docs Documentation in the Doc dir skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels May 31, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs May 31, 2026
@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32925676 | 📁 Comparing e3deffd against main (f4bda4d)

  🔍 Preview build  

1 file changed
± library/mimetypes.html

Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One little note, otherwise looks fine.

Comment thread Doc/library/mimetypes.rst
Comment on lines 211 to 212
the same database as the rest of this module. The initial database is a copy of
that provided by the module, and may be extended by loading additional
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
the same database as the rest of this module. The initial database is created from
Python's built-in MIME type tables. It may be extended by loading additional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants