# 对象类型 type(object) # 对象属性及方法 dir(object) # 对象属性和属性值的字典 vars(object) # 方法的参数名 function.__code__.co_varnames # 方法的参数个数 function.__code__.co_argcount