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

Improve the signatures of expand_type and expand_type_by_instance #14879

Merged
merged 2 commits into from
Mar 11, 2023

Conversation

AlexWaygood
Copy link
Member

By adding another overload, CallableType -> CallableType, we can avoid the need for several casts across the code base.

@JelleZijlstra JelleZijlstra self-assigned this Mar 11, 2023
@github-actions
Copy link
Contributor

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

@JelleZijlstra JelleZijlstra merged commit 4b3722f into python:master Mar 11, 2023
@AlexWaygood AlexWaygood deleted the improve-expandtype branch March 11, 2023 16:30
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