Make Op.perform an abstractmethod and provide Op type hints
This change makes `Op.perform` a mandatory method.
Since more than a few `Op`s do not have Python implementations, they've been
made to extend `_NoPython*Op` classes that provide an `Op.perform` that simply
raises a `NotImplementedError`.
正在显示
请
注册
或者
登录
后发表评论