This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kamilturek
Recipients docs@python, kamilturek, marcosmodenesi, rhettinger
Date 2021-03-08.18:49:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615229364.29.0.5763167686.issue43427@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-03-08 18:49:24kamiltureksetrecipients: + kamilturek, rhettinger, docs@python, marcosmodenesi
2021-03-08 18:49:24kamiltureksetmessageid: <1615229364.29.0.5763167686.issue43427@roundup.psfhosted.org>
2021-03-08 18:49:24kamiltureklinkissue43427 messages
2021-03-08 18:49:24kamilturekcreate