title: python assignment to an object inside itself
body: <p>I am working on a class in python and I don't know if I can assign to an object inside one of its methods. For example:</p>
  
  <pre><code>class foo:
      def __init__(self):
          self = &lt;something&gt;
  </code></pre>
  
  <p>Is that assignment (line 3) is right?</p>