Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: super(type(self), self) 的快捷方式
我看到的super在 Python 2.x 中使用的每个示例都如下所示super(ClassName, self):
super
super(ClassName, self)
有什么理由不使用super(type(self), self)吗?
super(type(self), self)