Python: __init__() takes exactly 2 arguments (3 given)
<p>this is my first question on StackOverflow, so please tell me how I can improve it in the comments.</p>

<p>I am writing a program to find adapters, and have made a class called 'Adapter'. When I pass in two arguments IDLE gives me an error saying I passed in three! Here is the code and stack trace:</p>

<pre><code>#This is the adapter class for the adapter finder script

class Adapter:
    side1 = (None,None)
    side2 = (None,None)
    '''The class that holds both sides of the adapter'''
    def __init__((pType1,pMF1),(pType2,pMF2)):
        '''Initiate the adapter.

        Keyword Arguments:
        pType1 -- The passed type of one side of the adapter. ex: BNC, RCA
        pMF1 -- The passed gender of pType1. ex: m, f

        pType2 -- The passed type of one side of the adapter. ex: BNC, RCA
        pMF2 -- The passed gender of pType2. ex: m, f

        '''

        print 'assigining now'
        side1 = (pType1,pMF1)
        print side1
        side2 = (pType2,pMF2)
        print side2

sideX = ('rca','m')
sideY = ('bnc','f')

x = Adapter(sideX,sideY)
print x.side1
print x.side2
</code></pre>

<p>Error:
<code>Traceback (most recent call last):
  File "C:\Users\Cody\Documents\Code\Python\Adapter Finder\adapter.py", line 28, in &lt;module&gt;
    x = Adapter(sideX,sideY)
TypeError: __init__() takes exactly 2 arguments (3 given)</code></p>

<p>I dont understand what the problem is because I've only entered two args!</p>

<p>Edit: Im new to the python language, though I know Java.
Im using this page as a tutorial: <a href="http://docs.python.org/tutorial/classes.html" rel="nofollow">http://docs.python.org/tutorial/classes.html</a></p>
