How to actually use the NotImplementedError in python?

前端 未结 0 836
挽巷
挽巷 2020-12-31 16:11

I currently have a base class like so:

from abc import ABC, abstractmethod

class BaseClass(ABC):
    @abstractmethod
    def __init__(self, param1, param2):
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题