Kamil Turek <[email protected]> added the comment:
I think there isn't any error. Please look at the example provided in the guide:
class E:
@staticmethod
def f(x):
print(x)
>>> E.f(3)
3
If it were as you say, method would receive two arguments - f(E, 3) - which is
wrong.
----------
nosy: +kamilturek
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43427>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com