Skip to content

Commit cf63add

Browse files
committed
fixup! specify that type variable tuple should have variance
1 parent 1d3e04d commit cf63add

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

conformance/tests/generics_typevartuple_variance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# Specification: https://typing.readthedocs.io/en/latest/spec/generics.html#semantics
66

77

8-
from typing import Generic, TypeVarTuple
8+
from typing import Generic
9+
from typing_extensions import TypeVarTuple
910

1011
class InvariantTypeVarTuple[*InOutTs]:
1112
a: tuple[*InOutTs]

0 commit comments

Comments
 (0)