为什么会出现以下错误,如何解决?
TypeError: super(type, obj): obj must be an instance or subtype of type
最佳答案
发生此错误的另一种方式是在 Jupiter 笔记本中使用类重新加载模块时。
简单的解决方法是重启内核。
http://thomas-cokelaer.info/blog/2011/09/382/
查看@Mike W 的answer了解更多详情。
关于python - super (类型,obj): obj must be an instance or subtype of type,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43751455/