Answer the question
In order to leave comments, you need to log in
What do these 3 lines do? Python. OOP. __init__ constructor with super() call?
class Mycllass(a, **kwargs):
def __init__(self, **kwargs):
super(Mycllass, self).__init__(**kwargs)
What happens? And what does this have to do with metaclasses?
Answer the question
In order to leave comments, you need to log in
Declaration of a class MyClass
that inherits from a class a
;
Class constructor declaration;
Calling the constructor of the parent class.
It has nothing to do with metaclasses.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question