在静态编程 如C++ 中 fun( class object),如 fun(int a1, int a2, int a3)

而在python中3.0以前是没有 类型提示的,因为python是动态语言,3.0以后加入了动态提示。

python官方

python3 类型提示

python3 类型提示

TaskType is a  Class 

def __init__(self, fp, task_type: TaskType, crmid=None, remote_fileid=None, telnumber=None):

相关文章: