title: More elegant/shorter way to conditionally add key-value pair to dictionary?
body: <p>Is there a more elegant/shorter way to conditionally add a key-value pair to a dictionary in python than this:</p>
  
  <pre><code>extra = {'foo': 'bar'}
  if something is True:
     extra['some'] = 'thing'
  </code></pre>