summaryrefslogtreecommitdiff
path: root/artima/python/super_external.py
blob: 3f4cb46e13f50d957113297f42d32a0453cfe971 (plain)
1
2
3
4
5
6
7
8
9
def __init__(self):
    print('calling __init__')
    super().__init__()

class C(object):
    __init__ = __init__

if __name__ == '__main__':
    c = C()