Starting with Python 3.3, it is possible to combine@staticmethod
and @abstractmethod
, so none of the other suggestions are necessary anymore:
@staticmethod@abstractmethoddef my_abstract_staticmethod(...):
Further @abstractstatic
is deprecated since version 3.3.