no error when using covariant
or contravariant
TypeVar
on class with writable attribute
#14588
Labels
bug
mypy got something wrong
here,
T
is used in both an in and out position as the value can be modified as well.jailbreak:
playground
The text was updated successfully, but these errors were encountered: