python鸭子类型(duck type)和猴子补丁(mokey patching) 转载: https://cloud.tencent.com/developer/article/1484390 https://www.cainiaojc.com/note/qadnq1.html