📅  最后修改于: 2022-03-11 14:45:53.114000             🧑  作者: Mango
class Common(object):
def __init__(self,x):
self.x = x
def sharedMethod(self):
print self.x
class Alpha(Common):
def __init__(self):
Common.__init__(self,"Alpha")