Access instance variable name within class
<p>A little background - I am playing around with pygame, and want to create a dictionary of all Mob class instances' positions.</p>

<p>The way I see it:</p>

<pre><code>human = Mob(pos)
mob_positions = {human : pos}
</code></pre>

<p>So every time I call <code>Mob.__init__()</code> I wanted to add a <code>pos</code> to <code>mob_positions</code> dict.</p>

<p>How do I access current instance variable name? Or is it extremely wrong approach?</p>
