python中出现这个错误TypeError: readfile() takes 1 positional argument but 2 were given 提供一种情况,我是在一个类中复制了函数,所以参数忘了加self,导致了这个错误