blob: 65ca9d01f46ce081de95da4977fb77ba18cf0e6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
from magicsuper import object
class B(object):
def __init__(self):
print "B.__init__"
super(B, self).__init__()
class C(B):
def __init__(self):
print "C.__init__"
callsupermethod()
c = C()
|