class method with no arguments produces TypeError
<p>This code:</p>

<pre><code>class testclass:
    def __init__(self,x,y):
        self.x = x
        self.y = y
        self.test()

    def test():
        print('test')

if __name__ == '__main__':
    x = testclass(2,3)
</code></pre>

<p>yields:</p>

<pre><code>Error:
TypeError:test() takes no argument(1 given)
</code></pre>

<p>I'm calling the test function without any parameter, why does the error say that I have given one?</p>
