立即学习:https://edu.csdn.net/course/play/26755/340162?utm_source=blogtoedu
通过 Isinstancep函数可以判断调用的是函数还是方法,如果是函数,类型是Function Type,如果是方法,类型是 Methodtype。
立即学习:https://edu.csdn.net/course/play/26755/340162?utm_source=blogtoedu
通过 Isinstancep函数可以判断调用的是函数还是方法,如果是函数,类型是Function Type,如果是方法,类型是 Methodtype。