from typing import Tuple, List def myfunc() -> List[Tuple[int]]: ... 也就是说,Python的类型注解并不完全"验证"任何东西,它的实现是为了让IDE执行更好 ...
確定! 回上一頁