You create Class C that inherits from both A and B. It is rarely used because you need to ensure that there is no conflicting logic in everything (attributes, method, etc.) between A and B. A sample that you can find is in note_pad/note_pad.py. The note.note there inherits from note.note and pad.common.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/16/15, 1:24 AM|
|Seen: 316 times|
|Last updated: 3/16/15, 8:10 AM|