here is my haha class<br>class haha(object):<br> def theprint(self):<br> print "i am here"<br><br>>>> haha().theprint()<br>i am here<br>>>> haha(object).theprint()<br>Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>TypeError: object.__new__() takes no parameters<br><br>why haha(object).theprint() get wrong output?<br>