如何返回暗示已定义类型的类型如果我有以下情况: def alert(self, text: str, color: str) -> str: 我能得到指定类型的参数吗 我尝试使用func.__code__.co_varn ...2024-04-29 已阅读: n次