Commits on Source (3)
-
Jon Parise authored
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.
-
Jon Parise authored
-
Ian Stapleton Cordasco authored
Consider all metaclass methods to be class methods