This is currently not possible in Python 2.X, which will only enforce the method to be abstract or static, but not both.
In Python 3.2+, the new decoratorsabc.abstractclassmethod
and abc.abstractstaticmethod
were added to combine their enforcement of being abstract and static or abstract and a class method.