Difference between __get__ and __getattr__ in Python
<p>I've been trying to figure this out for a while.  I see plenty of questions like <a href="http://stackoverflow.com/questions/3278077/difference-between-getattr-vs-getattribute-in-python">this one</a>, asking about the difference between <code>__getattr__</code> and <code>__getattribute__</code>.</p>

<p>However, my question is thus:  what is the difference between <code>__get__</code> and <code>__getattr__</code> in Python?  I come from a PHP background, where there is only <code>__get__</code>.  When should I use which function?</p>
