Type hints when unpacking a tuple? Type hints when unpacking a tuple? python-3.x python-3.x

Type hints when unpacking a tuple?


According to PEP-0526, you should annotate the types first, then do the unpacking

a: intb: inta, b = t