title: Is it more memory-efficient to set variables to `None` in python?
body: <p>It is a simple question, but since I didn't find any answers for it, I assume the answer would be negative. However, to make sure, I'm asking it:</p>
  
  <p>Does it make the python code more efficient to set the variables to <code>None</code> after we're done with them in a function?</p>
  
  <p>So as an example:</p>
  
  <pre><code>def foo(fname):
      temp_1, temp_2 = load_file_data(fname)
  
      # do some processing on temp_1, temp_2
  
      temp_1 = None
      temp_2 = None
  
      # continue with the rest of the function
  </code></pre>
  
  <p>Does the answer change if we do this at the end of the function (since I assume python itself would do it at that point)?</p>