When __repr__() is called?
<p><code>print OBJECT</code> calls <code>OBJECT.__str__()</code>, then when <code>OBJECT.__repr__()</code> is called? I see that <code>print OBJECT</code> calls <code>OBJECT.__repr__()</code> when <code>OBJECT.__str__()</code> doesn't exist, but I expect that's not the only way to call <code>__repr__()</code>.</p>
