摘要:
python 支持多继承,但对与经典类和新式类来说,多继承查找的顺序是不一样的。 经典类: 新式类 class P1: def foo(self): print ('p1-foo') class P2 : def foo(self): print ('p2-foo') def bar(self): 阅读全文
posted @ 2018-03-06 15:52
NullMoneyException
阅读(142)
评论(0)
推荐(0)
浙公网安备 33010602011771号