-
- Downloads
Consider all metaclass methods to be class methods
It's a widely used (but perhaps not official?) convention to consider a metaclass's methods to be class methods and to use `cls` as the first argument (rather than `self`). Use the simple heuristic of "class inherits from `type`" to identify metaclasses and mark all of their methods as CLASSMETHOD.
Please register or sign in to comment