Skip to content

add infer_variance for ParamSpec#172

Merged
JelleZijlstra merged 2 commits intopython:mainfrom
JelleZijlstra:paramspecinfer
May 22, 2023
Merged

add infer_variance for ParamSpec#172
JelleZijlstra merged 2 commits intopython:mainfrom
JelleZijlstra:paramspecinfer

Conversation

@JelleZijlstra
Copy link
Copy Markdown
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