C0204

Message

Metaclass class method %s should have %s as first argument

Description

Used when a metaclass class method has a first argument named differently than the value specified in the valid-metaclass-classmethod-first-arg option (defaults to mcs). Specifying the value mcs is recommended to easily differentiate such methods from regular instance methods.

This message belongs to the classes checker.

Explanation

Explanation needed


Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License