PEP-646 introduced 1-element (from a syntactical standpoint) tuples that are very much not likely to be an error, both tuple[*Ts] and tuple[Unpack[Ts]] should not result in a Y090 error, the suggestion it makes (tuple[Unpack[Ts], ...]) is also not a valid type.
PEP-646 introduced 1-element (from a syntactical standpoint) tuples that are very much not likely to be an error, both
tuple[*Ts]
andtuple[Unpack[Ts]]
should not result in a Y090 error, the suggestion it makes (tuple[Unpack[Ts], ...]
) is also not a valid type.