example of adding a type hint for a variable (Python 3). Functions ... from typing import List, Optional xs = [] # type: List[Optional[str]].
確定! 回上一頁