Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve __(r)or__ signatures for TypedDict classes #10565

Merged
merged 4 commits into from
Aug 12, 2023

Conversation

AlexWaygood
Copy link
Member

This isn't what was asked for in python/typing#1445, but it seems worth doing anyway. I can't see a reason why it shouldn't be type-safe.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

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

@AlexWaygood AlexWaygood merged commit df08fce into python:main Aug 12, 2023
@AlexWaygood AlexWaygood deleted the typeddict-or branch August 12, 2023 17:32
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