Python inheritance, having set_up() method that's always called by base class init while having varying arguments in child classes

前端 未结 0 1606
灰色年华
灰色年华 2021-02-05 23:35

I want to achieve something like this. But python gives error of missing argument resource due to the fact Node calls set_up without argument. What\'s the correct way to do it?

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