我有一个函数可以接受任何可以索引的变量作为输入,例如元组列表.如何在函数的类型提示中指明这一点?
python type-hinting python-3.x
python ×1
python-3.x ×1
type-hinting ×1