寫 Union[set, list, tuple] 太囉唆,改用 Iterable. 如果Type Hints 要表達「某幾種型別,任一種都可以」,可以使用Typing 模組中 ...
確定! 回上一頁