by thatxliner · 3y ago · 0 comments
``` ... type IntOrStrSequence[T: (int, str)] = Sequence[T] # TypeVar with constraints ```
``` type IntOrStrSequence[T: int | str] = Sequence[T] ```