Is it possible to use type hinting when unpacking a tuple? I want to do this, but it results in a SyntaxError:
SyntaxError
from typing import Tuple t: Tup
According to PEP-0526, you should annotate the types first, then do the unpacking
a: int b: int a, b = t