TypeError: myMethod, takes no arguments

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

---------------------------------------------------------------