<filename>p031_oop_inheritance_v2.py
#!/usrGrr.../bin/python3.6
# created by cicek on 05.09.2018 20:05

# However, circular inheritance is not possible.

class A:
    def method(self):
        print("A method")


class B(A):
    def another_method(self):
        print("B method")


class C(B):
    def third_method(self):
        print("C method")


c = C()
c.method()          # A method
c.another_method()  # B method
c.third_method()    # C method

<filename>p031_oop_inheritance_v2.py
#!/usrGrr.../bin/python3.6
# created by cicek on 05.09.2018 20:05

# However, circular inheritance is not possible.

class A:
    def method(self):
        print("A method")


class B(A):
    def another_method(self):
        print("B method")


class C(B):
    def third_method(self):
        print("C method")


c = C()
c.method()          # A method
c.another_method()  # B method
c.third_method()    # C method

#!/usrGrr.../bin/python3.6 # created by cicek on 05.09.2018 20:05 # However, circular inheritance is not possible. # A method # B method # C method