在 Python 中,我们可以使用 "typing" 模块中的 "TypeAlias" 来给类型取一个别名。 例如,你可以这样写: from typing import TypeAlias Number = TypeAlias(int)