4 ms·
pass to python 3 :D >>> class C: ... def m(self,a): ... pass ... >>> C().m() Traceback (most recent call last): File "<stdi
by _ZeD_ 13y ago
pass to python 3 :D
>>> class C:
... def m(self,a):
... pass
...
>>> C().m()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: m() missing 1 required positional argument: 'a'
>>>
- stormbrew 13y agoNice. I haven't committed this particular error in python 3 yet, so it's good to know they made it more sane.