>>> class A:def a(self):print("I'm a")>>> A.a()Traceback (most recent call last):File "<pyshell#10>", line 1, in <module>A.a()TypeError: unbound method a() must be called with A instance as first argument (got nothing instead)小弟新手,请轻拍!
添加回答
举报
0/150
提交
取消