Skip to content

How to type hint a TypeVar that can be either bound to A or to list[A] #1259

Answered by sobolevn
randolf-scholz asked this question in Q&A
Discussion options

You must be logged in to vote

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by randolf-scholz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants