summaryrefslogtreecommitdiff
path: root/doc/data/messages/b/bad-super-call/bad.py
blob: 625a70e6f9d60254e20871c04356affb96134cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class Animal:
    pass


class Tree:
    pass


class Cat(Animal):
    def __init__(self):
        super(Tree, self).__init__()  # [bad-super-call]
        super(Animal, self).__init__()