A method is abstract if it's preceded with the decorator @abstractmethod.
如果方法的前缀使用 @abstractmethod 修饰符(decorator),那么此方法就是一个抽象方法。
youdao
应用推荐
模块上移
模块下移
不移动