title: Python - Calling __init__ for multiple parent classes
body: <p>Edit: I am on <strong>Python 3</strong>.</p>
  
  <p>I have a class <code>X</code> that extends both <code>Y</code> and <code>Z</code>: </p>
  
  <pre><code>class X(Y, Z):
      def __init__(self):
      # Call Y's __init__
      # Call Z's __init
      pass
  </code></pre>
  
  <p>I need to call <code>__init__</code> on both <code>Y</code> and <code>Z</code> from the <code>__init__</code> on <code>X</code>. What would be the best way to do this? </p>