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

Let overload item have a wider return type than implementation #12435

Merged
merged 3 commits into from Mar 24, 2022

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Mar 23, 2022

A wider return type can be useful if a decorator used for the overload
implementation gets a more precise return type as part of a typeshed
update.

Closes #12434.

A wider return type can be useful if a decorator used for the overload
implementation gets a more precise return type as part of a typeshed
update.

Closes #12434.
@JukkaL JukkaL closed this Mar 23, 2022
@JukkaL JukkaL reopened this Mar 23, 2022
@JukkaL JukkaL closed this Mar 23, 2022
@JukkaL JukkaL reopened this Mar 23, 2022
@github-actions
Copy link
Contributor

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

@JukkaL JukkaL merged commit 1772a4c into master Mar 24, 2022
@JukkaL JukkaL deleted the relax-overload-ret-type-check branch March 24, 2022 09:26
JukkaL added a commit that referenced this pull request Mar 24, 2022
A wider return type can be useful if a decorator used for the overload
implementation gets a more precise return type as part of a typeshed
update.

Closes #12434.
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.

Let overload item have a wider return type than implementation
3 participants