报告 Python 2 中的类没有__init__ 方法且其父类也没有此方法的情况。

示例:

class Book():
    pass

快速修复将添加 __init__ 方法:

class Book():
    def __init__(self):
        pass