summaryrefslogtreecommitdiff
path: root/doc/data/messages/n/non-parent-init-called/good.py
blob: bf6abca1003e03997985e1f2a22329e1f6d4eead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Animal:
    def __init__(self):
        self.is_multicellular = True


class Vertebrate(Animal):
    def __init__(self):
        super().__init__()
        self.has_vertebrae = True


class Cat(Vertebrate):
    def __init__(self):
        super().__init__()
        self.is_adorable = True