summaryrefslogtreecommitdiff
path: root/artima/python/library_using_super.py
blob: 19f7a0123abe2714b83f51e430c97931d45f3b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
# library_using_super

class A(object):
    def __init__(self):
        print "A",
        super(A, self).__init__()

class B(object):
    def __init__(self):
        print "B",
        super(B, self).__init__()