basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

Ability to specify declaration site variance

Open DetachHead opened this issue 2 years ago • 0 comments

We can't use In/Out modifiers because that's a syntax error

class A[Out[T]]: ...
           ^
SyntaxError: invalid syntax

So what about semantic naming for type vars? in_T/out_T?

  • related to #175

DetachHead avatar May 20 '23 06:05 DetachHead