Skip to content

Add MimeTypes.add_types method - #12329

Merged
srittau merged 5 commits into
python:mainfrom
Eclips4:mimetypes-add_type
Jul 13, 2024
Merged

srittau merged 5 commits into
python:mainfrom
Eclips4:mimetypes-add_type

Conversation

@Eclips4

@Eclips4 Eclips4 commented Jul 13, 2024

Copy link
Copy Markdown
Member

Somehow, it got lost when other methods were added 🙂

@github-actions

This comment has been minimized.

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nit: Could you move it between __init__ and guess_extension to match the implementation order? This makes it easier to compare implementation and stubs and keep them in sync.

@Eclips4
Eclips4 requested a review from srittau July 13, 2024 08:25
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 1eb6e22 into python:main Jul 13, 2024
@Eclips4
Eclips4 deleted the mimetypes-add_type branch July 13, 2024 08:56
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Jul 23, 2024
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants