看大家怎么看
希望熟悉Python底层的大师给出个说明
>>> class A(object):
Name='Lucy'
@classmethod
def Show(self):
print "I/'m Lucy"
>>> class B(object):
@classmethod
def Call(self):
A.Show()
>>> class C(object):
CallName=A.Name
>>> class A(object):
@classmethod
def Show(self):
print "I/'m not Lucy"
>>> B.Call()
I'm not Lucy
>>> C.CallName
'Lucy'
>>> A.Name