summaryrefslogtreecommitdiff
path: root/tests/functional/s/super_style.py
blob: 342e67c4b1f30a13ffe7f5545e8c5a75751cb6ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Foo:
    pass


class Bar(Foo):
    def __init__(self):
        super(Bar, self).__init__()  # [old-style-super]


class Baz(Foo):
    def __init__(self):
        super().__init__()


class Qux(Foo):
    def __init__(self):
        super(Bar, self).__init__()