.. _bad-staticmethod-argument: bad-staticmethod-argument / W0211 ================================= **Message emitted:** ``Static method with %r as first argument`` **Description:** *Used when a static method has "self" or a value specified in valid-classmethod-first-arg option or valid-metaclass-classmethod-first-arg option as first argument.* **Problematic code:** .. literalinclude:: /data/messages/b/bad-staticmethod-argument/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/b/bad-staticmethod-argument/good.py :language: python Created by the `classes `__ checker.