python's OOP question
neoedmund at gmail.com
Mon Oct 16 05:29:53 CEST 2006
python use multiple inheritance.
but "inheritance" means you must inherite all methods from super type.
now i just need "some" methods from one type and "some" methods from
to build the new type.
Do you think this way is more flexible than tranditional inheritance?
Ben Finney wrote:
> [Please don't top-post above the text to which you're replying.]
> "neoedmund" <neoedmund at gmail.com> writes:
> > I'm trying to achieve a higher level of "reusability". Maybe it
> > cannot be done in python? Can anybody help me？
> What, specifically, are you trying to achieve? What problem needs
> \ "If you're a horse, and someone gets on you, and falls off, and |
> `\ then gets right back on you, I think you should buck him off |
> _o__) right away." -- Jack Handey |
> Ben Finney
More information about the Python-list