class father():
def call_children(self):
class children(father):
def out(self):
print "hehe"
child = children()
child.call_children()
转载于:https://www.cnblogs.com/DaSunWarman/p/7867331.html
class father():
def call_children(self):
class children(father):
def out(self):
print "hehe"
child = children()
child.call_children()
转载于:https://www.cnblogs.com/DaSunWarman/p/7867331.html