Python有多重继承吗? [英] Does Python have Multiple Inheritance ?

查看:94
本文介绍了Python有多重继承吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

维基百科说Python有多重继承,这是真的吗?

http://en.wikipedia.org/wiki/Multiple_inheritance


谢谢,


Aaron

Wikipedia says Python has Multiple Inheritance, is this true ?

http://en.wikipedia.org/wiki/Multiple_inheritance

Thanks,

Aaron

推荐答案

Aaron Gray写道:
Aaron Gray wrote:

Wikipedia说Python有多重继承,这是真的吗? />
http://en.wikipedia.org/wiki/Multiple_inheritance





Yes


Aaron Gray写道:
Aaron Gray wrote:

Wikipedia说Python有多重继承,这是真的吗?

http://en.wikipedia.org/wiki/Multiple_inheritance


谢谢,


Aaron
Wikipedia says Python has Multiple Inheritance, is this true ?

http://en.wikipedia.org/wiki/Multiple_inheritance

Thanks,

Aaron



好​​悲伤。您可以使用维基百科,但不能使用谷歌吗?

http://www.google.co.uk/search?q=pyt...le+inheritance


TJG

Good grief. You can use Wikipedia but you can''t use Google?

http://www.google.co.uk/search?q=pyt...le+inheritance

TJG


在文章< ma ******************************* *******@python.o rg>,

Tim Golden< ma ** @ timgolden.me.ukwrote:
In article <ma**************************************@python.o rg>,
Tim Golden <ma**@timgolden.me.ukwrote:

Aaron Gray写道:
Aaron Gray wrote:

Wikipedia说Python有多重继承,这是真的吗?

http://en.wikipedia.org/wiki/Multiple_inheritance


谢谢,


Aaron
Wikipedia says Python has Multiple Inheritance, is this true ?

http://en.wikipedia.org/wiki/Multiple_inheritance

Thanks,

Aaron



好​​悲伤。您可以使用维基百科,但不能使用谷歌吗?

http://www.google.co.uk/search?q=pyt...le+inheritance


TJG


Good grief. You can use Wikipedia but you can''t use Google?

http://www.google.co.uk/search?q=pyt...le+inheritance

TJG



想象一下:


Aaron是一个维基百科用户

Aaron是-a GoogleUser


看多重继承!

Think of it this way:

Aaron is-a WikipediaUser
Aaron is-a GoogleUser

see, multiple inheritance!


这篇关于Python有多重继承吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆