i knon that a lot of people asked the same question, but i litte bit confused,
i have an abstract class with __init__
class FirstTry(ABC):
def __init__(self) -> None:
return NotImplemented
and a second class,
class SecondTry(FirstTry):
def __init__(self, names: list, alias: dict) -> NoReturn:
if names:
self.names= names
if alias:
self.alies = alies
self.names_count = None
self.alias_alternatives = None
super().__init__(names, alias)
but when i run my code i get this error
TypeError: FirstTry.__init__() takes 1 positional arguments but 3 were given