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

Never use more than one Literal per union #6984

Merged
merged 1 commit into from
Jan 20, 2022
Merged

Conversation

AlexWaygood
Copy link
Member

@github-actions
Copy link
Contributor

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

Copy link
Collaborator

@Akuli Akuli left a comment

Choose a reason for hiding this comment

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

The occurrences in tkinter were generated by a script I wrote. I wrote the script before I learned that you can put multiple strings inside a single Literal, and modified the script afterwards, but apparently missed something while editing it :)

@Akuli Akuli merged commit 76af728 into python:master Jan 20, 2022
@AlexWaygood AlexWaygood deleted the unions branch January 20, 2022 18:26
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.

3 participants