object.__new__() takes no parameters
<p>Ok so I made a user-defined class:</p>

<pre><code>class Drinker:
        def __init__(self, name, age):
                self.name = name
                self.age = age
        def canYouDrink(self):
                if self.age &gt; 20:
                        print('yes')
                else:
                        print('no')
</code></pre>

<p>In my command line window, I did:</p>

<pre><code>from drinker import Drinker
dan = Drinker("Dan", 21)
</code></pre>

<p>Then it gave me this <code>object.__new__() takes no parameters</code> error message. Did I define my constructor incorrectly?</p>
