raise NotImplementedError(),这样做有什么用处,运行时为何不会报错?例如:
def close(self, all_fds=False):
raise NotImplementedError()
def start(self):
raise NotImplementedError()
def add_handler(self, fd, handler, events):
raise NotImplementedError()
感谢各位的解答!
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
小伙看你根骨奇佳,潜力无限,来学PHP伐。