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

add infer_variance for ParamSpec #172

Merged
merged 2 commits into from
May 22, 2023

Conversation

JelleZijlstra
Copy link
Member

For compatibility with Python 3.12, which adds this undocumented
parameter along with the existing covariant/contravariant ones.
Intentionally leaving this undocumented: it's here in case we want
to make variance on ParamSpec mean something later, but it currently
has no supported use.

For compatibility with Python 3.12, which adds this undocumented
parameter along with the existing covariant/contravariant ones.
Intentionally leaving this undocumented: it's here in case we want
to make variance on ParamSpec mean something later, but it currently
has no supported use.
@JelleZijlstra JelleZijlstra merged commit 9648c6f into python:main May 22, 2023
@JelleZijlstra JelleZijlstra deleted the paramspecinfer branch May 22, 2023 00:49
@JelleZijlstra JelleZijlstra restored the paramspecinfer branch September 10, 2024 23:39
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