Actual difference in implementing/overriding using @abstractproperty and @abstractmethod
问题 Consider an abstract base class with a function which you want each subsequent subclass to override. Using the abc module and ABCMeta; does decorating with @abstractproperty or @abstractmethod actually force the subclass/developer implementing to create the type of function specified by the decorator? From my experiments you can override an abstract property with a method and an abstract method with a property in the subclass. Is this notion incorrect? 回答1: The notion is correct; the ABCMeta