Bootstrap

python查看函数是否有某种方法,hasttr(function,__method)

例:
hasttr(list,iter)
查看内置函数list是否有可迭代方法

;