title: Removing multiple keys from a dictionary safely
body: <p>I know how to remove an entry, <code>'key'</code> from my dictionary <code>d</code>, safely. You do:</p>
  <pre><code>if d.has_key('key'):
      del d['key']
  </code></pre>
  <p>However, I need to remove multiple entries from a dictionary safely.  I was thinking of defining the entries in a tuple as I will need to do this more than once.</p>
  <pre><code>entities_to_remove = ('a', 'b', 'c')
  for x in entities_to_remove:
      if x in d:
          del d[x]
  </code></pre>
  <p>However, I was wondering if there is a smarter way to do this?</p>