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

Fixed bug that led to incorrect conversion from a class constructor t… #6541

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

erictraut
Copy link
Collaborator

…o a function when it involves a __new__ method that returns Self. This addresses #6529.

…o a function when it involves a `__new__` method that returns `Self`. This addresses #6529.
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@erictraut erictraut merged commit 91d35ef into main Nov 25, 2023
12 checks passed
@erictraut erictraut deleted the issue6529 branch November 25, 2023 01:28
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.

1 participant