What is the difference between self and object parameters in __repr__ method?
<p>I already know the difference between old-style class (class Foo()...) and new-style class (class Foo(object)...). But, what is the difference between that :</p>

<pre><code>class Foo(object):
  def __repr__(self):
    return 'foo'
</code></pre>

<p>and</p>

<pre><code>class Foo(object):
  def __repr__(object):
    return 'foo'
</code></pre>

<p>Thanks.</p>
