title: Python: create dictionary using dict() with integer keys?
body: <p>In Python, I see people creating dictionaries like this:</p>
  
  <pre><code>d = dict( one = 1, two = 2, three = 3 )
  </code></pre>
  
  <p>What if my keys are integers? When I try this:</p>
  
  <pre><code>d = dict (1 = 1, 2 = 2, 3 = 3 )
  </code></pre>
  
  <p>I get an error. Of course I could do this:</p>
  
  <pre><code>d = { 1:1, 2:2, 3:3 }
  </code></pre>
  
  <p>which works fine, but my main question is this: is there a way to set <em>integer</em> keys using the dict() function/constructor?</p>