学习笔记63_python反射
摘要:####反射预备知识一########### __call__ 对象后面加括号,触发执行。 python中,类的默认的内置方法,有一个名为__call__,如 class foo: def __init__(self): pass def __call__(self,*args,**kwargs)
阅读全文
posted @ 2018-01-14 16:29
posted @ 2018-01-14 16:29
posted @ 2018-01-14 15:22
posted @ 2018-01-11 20:48
posted @ 2018-01-08 19:58
posted @ 2018-01-07 18:34
posted @ 2018-01-06 16:43