from abc import ABC, abstractmethodclass Printable(ABC): @abstractmethod def print(self, color): passshape = Printable() # <-error