title: Appending python dictionary to list
body: <p>I have a doc list and a dict dictionary. </p>
  
  <pre><code>doc = []
  somedict = {}
  
  somedict['facets'] = "blue"
  doc.append(somedict)
  somedict['facets'] = "green"
  doc.append(somedict)
  </code></pre>
  
  <p>Expected output when I give command</p>
  
  <pre><code>print doc
  </code></pre>
  
  <p>Expected output: </p>
  
  <pre><code>[ {'facets':'blue'} , {'facets':'green'} ]
  </code></pre>
  
  <p>Present output:</p>
  
  <pre><code>[{'facets': 'green'}, {'facets': 'green'}]
  </code></pre>