摘要:
from types import MethodType,FunctionType def check(arg): """ 检查arg是方法还是函数? :param arg: :return: """ if isinstance(arg,MethodType): print('arg是一个方法') elif isinstan... 阅读全文
posted @ 2018-10-12 07:30
阿波罗Apollo
阅读(390)
评论(0)
推荐(0)
2018年10月12日