title: Passing arguments to superclass constructor without repeating them in childclass constructor
body: <pre><code>class P(object):
      def __init__(self, a, b):
         self.a = a
         self.b = b
  class C(P):
      def __init__(self, c):
         P.__init__()
         self.c = c
  
  obj = C(a, b, c) #want to instantiate a C with something like this
  </code></pre>
  
  <p>I want to define <code>C</code> class object without rewriting all the <code>P</code> class constructor argument in <code>C</code>'s constructor, but the above code doesn't seem to work. What is the right approach to do this?</p>
  
  <p><strong>Clarification:</strong> </p>
  
  <p>The idea is to avoid putting parent class's constructor arguments in child class's constructor. It's just repeating too much. All my parent and child classes have many arguments to take in for constructors, so repeating them again and again is not very productive and difficult to maintain. I'm trying to see if I can only define what's unique for the child class in its constructor, but still initialize inherited attributes.</p>