Answers for "can we use the call the parent class method from child class in python without super use?"

3

how to get the parent class using super python

class Foo(Bar):

    def __init__(self, *args, **kwargs):
        # invoke Bar.__init__
        super().__init__(*args, **kwargs)
Posted by: Guest on August-13-2020

Code answers related to "can we use the call the parent class method from child class in python without super use?"

Python Answers by Framework

Browse Popular Code Answers by Language