Skip to content

Make ProxyType and CallableProxyType Generic #5166

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
Apr 8, 2021

Conversation

hatal175
Copy link
Contributor

As requested in #3445.
Admittedly, it doesn't help much with type checking since typing doesn't really have a way to model a wrapper, but a mypy plugin could probably verify stuff here.

@JelleZijlstra JelleZijlstra merged commit 6c01c6a into python:master Apr 8, 2021
@hatal175 hatal175 deleted the weakrefgeneric branch April 8, 2021 16:19
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