Skip to content

Add MimeTypes.add_types method#12329

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

Add MimeTypes.add_types method#12329
srittau merged 5 commits intopython:mainfrom
Eclips4:mimetypes-add_type

Conversation

@Eclips4
Copy link
Copy Markdown
Member

@Eclips4 Eclips4 commented Jul 13, 2024

Somehow, it got lost when other methods were added 🙂

@github-actions

This comment has been minimized.

Copy link
Copy Markdown
Collaborator

@srittau srittau left a comment

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