do not explicitly inherit from `object` in class definitions
Expliclty inheriting from `object` was needed in Python 2 for new-style classes, but is no longer needed in Python 3 where all classes implicitly inherit from `object`.
Showing
想要评论请 注册 或 登录