python使用类时报错

class Restaurant:
    
    def __init__(self, name, atype):
        self_name=name
        self.type=atype
    def describe_restaurant(self):
        print(f"the restaurant name is {self.name}")
        print(f"the restaurant name type is {self.type}")
    def open_restaurant(self):
        print("open")
        
my_restaurant=Restaurant('okk','Chinese')
print(my_restaurant.name)
print(my_restaurant.type)
my_restaurant.describe_restaurant()
my_restaurant.open_restaurant()

类初始化那里self.name你写成了self_name