title: Python - add key-value pair to dictionary in array
body: <p>Question is in title. I can't make it work:</p>
  
  <pre><code>&gt;&gt;&gt; data = [{}] * 2
  &gt;&gt;&gt; data[1].update({3:4})
  &gt;&gt;&gt; data
  [{3: 4}, {3: 4}]
  </code></pre>
  
  <p>key-value pair adds to all elements of array. I expected to receive that:</p>
  
  <pre><code>[{}, {3: 4}]
  </code></pre>