python 关于继承的实验

出现了 如下的报错,主要是那一句takes 3 positional arguments but 4 were given 经过排查,在写继承类时,写的是 super().__init__(self, 参数,参数)  class IceCream(Restaurant): def __init__(self, restaurant_name, cuisine_type):
相关文章
相关标签/搜索