在看SocketServer源码之前,先看一个例子: class Base(object): def __init__(self, name): self.name = name self.Testfunc() def Testfunc(self): print('do Base Testfunc') class Son(Base): def Testfunc(self): print('do Son Testfunc') sonobj = Son('sonobj') class Base(ob…