.. _bad-classmethod-argument: bad-classmethod-argument / C0202 ================================ **Message emitted:** ``Class method %s should have %s as first argument`` **Description:** *Used when a class method has a first argument named differently than the value specified in valid-classmethod-first-arg option (default to "cls"), recommended to easily differentiate them from regular instance methods.* **Problematic code:** .. literalinclude:: /data/messages/b/bad-classmethod-argument/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/b/bad-classmethod-argument/good.py :language: python Created by the `classes `__ checker.