title: importing module causes TypeError: module.__init__() takes at most 2 arguments (3 given)
body: <p>Please don't mark as duplicate, other similar questions did not solve my issue.</p>
  <p>This is my setup</p>
  <pre><code>/main.py
  /actions/ListitAction.py
  /actions/ViewAction.py
  </code></pre>
  <p>Main.py:</p>
  <pre><code>from actions import ListitAction, ViewAction
  </code></pre>
  <p>ListitAction.py:</p>
  <pre><code>class ListitAction(object):
  
      def __init__(self):
          #some init behavior
  
      def build_uri():
          return &quot;test.uri&quot;
  </code></pre>
  <p>ViewAction.py</p>
  <pre><code>from actions import ListitAction
  
  class ViewAction(ListitAction):
  
      def __init__(self, view_id):
          ListitAction.__init__(self)
          self.view_id = view_id
  
      def build_uri():
          return &quot;test&quot;
  </code></pre>
  <p>Running:</p>
  <pre><code>$ python3 main.py
  </code></pre>
  <p>The only error message I receive is:</p>
  <pre class="lang-none prettyprint-override"><code>Traceback (most recent call last):
    File &quot;/home/jlevac/workspace/project/listit.py&quot;, line 11, in &lt;module&gt;
      from actions import ListitAction, ViewAction, CommentsAction
    File &quot;/home/jlevac/workspace/project/actions/ViewAction.py&quot;, line 3, in &lt;module&gt;
      class ViewAction(ListitAction):
  TypeError: module.__init__() takes at most 2 arguments (3 given)
  </code></pre>
  <p>Even if I try for the python3 console, I received the same error message:</p>
  <pre><code>$python3
  from actions import ViewAction
  </code></pre>
  <p>I am new to Python, but not new to programming. I'm assuming that my error messages have to do with the import statements, but based on the message I can't really figure out what it means.</p>