Подсказка типов в Python: Совместимость типов Duck и Consistent-With
Вам не нужно указывать int, когда вы указываете float, или namedtuple, когда вы указываете tuple. Почему?
https://towardsdatascience.com/python-type-hinting-duck-type-compatibility-and-consistent-with-72e8b348d8ac
Post #1024
600
