您的位置: 首页 > 文章 > python3 类型提示 python3 类型提示 分类: 文章 • 2024-06-11 15:17:28 在静态编程 如C++ 中 fun( class object),如 fun(int a1, int a2, int a3) 而在python中3.0以前是没有 类型提示的,因为python是动态语言,3.0以后加入了动态提示。 python官方 TaskType is a Class def __init__(self, fp, task_type: TaskType, crmid=None, remote_fileid=None, telnumber=None):