Duck typing

This is referred to as “duck-typing”—if it waddles like a duck and quacks like a duck, then we can treat it as a duck.
A very strong manner to determine the type of the variables of the python language.

posted on 2012-08-29 17:14  很遗憾我不是  阅读(204)  评论(0编辑  收藏  举报