title: Get attribute from a super class in python
body: <p>I have a base class, a bunch of subclasses, and for each of these subclasses, I have another set of sub-subclasses. For example:</p>
  
  <pre><code>class BaseClass(object):
      def __init__(self):
          with open(config.txt) as f
              self.config_array = f.readlines()
  
  class FirstOrderSubClass(BaseClass):
      def __init__(self, name):
          self.name = name
  
  class SecondOrderSubClass(FirstOrderSubClass):
      def __init__(self, name, version):
          self.name = name
          self.version = version
          super(SecondOrderSubClass, self).__init__(self.name)
          # needed to access self.config_array
          print self.config_array
  </code></pre>
  
  <p>I need to get the <code>__init__()</code> method of the <code>SecondOrderSubClass</code> to make the following assignment: <code>self.lines = self.config_array</code>.</p>
  
  <p>EDIT: added line <code>print self.config_array</code>. If I run the code I get:</p>
  
  <pre><code>TypeError: __getattr__() takes exactly 1 argument (2 given)
  </code></pre>