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

distutils.filelist overloads: Remove unnecessary = ...s #9619

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

AlexWaygood
Copy link
Member

Refs #9608. The default for the is_regex parameter is 0, so the = ...s for the Literal[True, 1] overloads are incorrect. The default value is accounted for in the other overloads, so the = ...s are also unnecessary.

@github-actions
Copy link
Contributor

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

@srittau srittau merged commit b748a9a into python:main Jan 30, 2023
@AlexWaygood AlexWaygood deleted the distutils-filelist branch January 30, 2023 17:03
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