Python blending abstractmethod and staticmethod (or other decorators)
If your @abstractmethod
should also be a @staticmethod
, you can
happily blend both, as long as the @staticmethod
(or other) decorator comes first.
In other words, @abstractmethod
should always be the innermost decorator.1
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus