意思是你定义的这个方法是静态的,没有涉及到对类的属性的调用和操作
1.可以把这个方法独立出去改成函数2.可以修改方法,加入对类的变量的操作,比如说把print('the restaurant is opened now')改成print(self.restaurant_name + ' is opened now')3.可以使用@staticmethod装饰器