Skip to content

I've never seen this typing syntax. What is it? #3292

Answered by erictraut
qexat asked this question in Q&A
Discussion options

You must be logged in to vote

See this documentation for details. It effectively means that the type is an intersection between a concrete type and a type variable. In other words, it's an object but it's also a T (or whatever TypeVar it corresponds to).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@echoix
Comment options

Answer selected by qexat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants