title: Is there a difference between using a dict literal and a dict constructor?
body: <p>Using PyCharm, I noticed it offers to convert a <strong>dict literal</strong>:</p>
  
  <pre><code>d = {
      'one': '1',
      'two': '2',
  }
  </code></pre>
  
  <p></p></p>
  
  <p>into a <strong>dict constructor</strong>:</p>
  
  <pre><code>d = dict(one='1', two='2')
  </code></pre>
  
  <p></p></p>
  
  <p><strong>Do these different approaches differ in some significant way?</strong></p>
  
  <p>(While writing this question I noticed that using <code>dict()</code> it seems impossible to specify a numeric key .. <code>d = {1: 'one', 2: 'two'}</code> is possible, but, obviously, <code>dict(1='one' ...)</code> is not. Anything else?)</p>