Multiple inheritance with a common base class

Discussion in 'Python' started by Markus Bertheau, Aug 10, 2004.

  1. Hi,

    I don't quite get the paragraph in the docs about this. Here it is:

    "A well-known problem with multiple inheritance is a class derived from
    two classes that happen to have a common base class. While it is easy
    enough to figure out what happens in this case (the instance will have a
    single copy of ``instance variables'' or data attributes used by the
    common base class), it is not clear that these semantics are in any way
    useful."

    If it's so easy to figure out, what is a problem then? And what should
    the comment about usefulness suggest?

    Thanks

    --
    Markus Bertheau <>
    Markus Bertheau, Aug 10, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ronnie
    Replies:
    4
    Views:
    428
    Ronnie
    Nov 19, 2003
  2. Ian
    Replies:
    7
    Views:
    4,444
    Chris Theis
    Feb 12, 2004
  3. Robert Swan
    Replies:
    2
    Views:
    381
    Greg Schmidt
    Nov 30, 2004
  4. Markus Bertheau
    Replies:
    5
    Views:
    630
    Duncan Booth
    Aug 10, 2004
  5. Matthias
    Replies:
    2
    Views:
    344
    Victor Bazarov
    Dec 10, 2005
Loading...

Share This Page