update new value to key in dictionary (python)
<p>I make a minimised DFA, to use key value style coding, I used dictionary.</p>

<p>so there is a dictionary,</p>

<pre><code>{1: {1:2}}
</code></pre>

<p>I want to update this dictionary add 2:3 to add key 1's dictionary.</p>

<pre><code>{1: {1:2, 2:3}}
</code></pre>

<p>I don't know how to do this.</p>

<p>Is any simple idea to solve this?</p>
