title: Where is the hidden parameter?
body: <p>I have this function call here:</p>
  
  <pre><code>import test_hosts
  
  test_hosts.LocalTestHost(mst, port, local_ip, remote_if_mac, remote_if_ip, service_port)
  </code></pre>
  
  <p>and when I run it, the interpreter fails, and says I'm passing 6 parameters to a function that receives 7 parameters.</p>
  
  <p><code>LocalTestHost</code> is a class which its constructor takes a <code>self</code> parameter and six others: resulting in a total of 7 parameters. This is it's declaration:</p>
  
  <pre><code>class LocalTestHost:
  
      def __init__(self, mst, port, local_ip, remote_if_mac, remote_if_ip, service_port):
          ...
  </code></pre>
  
  <p>I've stared at this code for hours, and I can't find the problem. When I run this as is, it fails because I pass 6 parameters, which is too few, if I call the constructor with an added parameter just to see that I can still count, it says I'm passing 8 parameters, which is too many.</p>