首页 > 技术文章 > TypeError: myMethod() takes no arguments (1 given) Python常见错误

cutesnow 2020-10-20 10:08 原文

 
忘记为方法的第一个参数添加self参数
---------------------------------------------------------------

 

推荐阅读