pycharm提示This inspection detects instance attribute definition outside __init__ method
示例代码:class MiNiCarStore(CarStore): def createCar(self, typeName): self.carFactory = CarFactory() # 会出现下划线提示This inspection detects instance attribute definition ...