TypeError: myMethod() takes no arguments (1 given) Python常见错误

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

原文地址:https://www.cnblogs.com/cutesnow/p/13844897.html