Skip to content

builtins.pow: Add default values to <py38 branches; remove incorrect = ...s for the 13th overload #9610

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

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Jan 29, 2023

If the 13th overload is selected by the type checker, the _M TypeVar will go unsolved if no value is specified by the user for the mod parameter. Refs #9608.

@github-actions
Copy link
Contributor

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

@srittau srittau merged commit 9099403 into python:main Jan 30, 2023
@AlexWaygood AlexWaygood deleted the pow-overloads branch January 30, 2023 17:14
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