mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
html fiddling
This commit is contained in:
@@ -54,7 +54,7 @@ body{counter-reset:h1 2}
|
||||
<li>Frozen sets
|
||||
</ol>
|
||||
-->
|
||||
<li><a href="#dictionaries">Dictionaries
|
||||
<li><a href="#dictionaries">Dictionaries</a>
|
||||
<li><a href="#none"><code>None</code></a>
|
||||
</ol>
|
||||
<h2 id="divingin">Diving in</h2>
|
||||
@@ -194,7 +194,7 @@ KeyError: 'db.diveintopython3.org'</samp></pre>
|
||||
<a><samp class="prompt">>>> </samp><kbd>a_dict</kbd> <span>③</span></a>
|
||||
<samp>{'server': 'db.diveintopython3.org', 'user': 'mark', 'database': 'blog'}</samp>
|
||||
<a><samp class="prompt">>>> </samp><kbd>a_dict["user"] = "dora"</kbd> <span>④</span></a>
|
||||
samp class="prompt">>>> </samp><kbd>a_dict</kbd>
|
||||
<samp class="prompt">>>> </samp><kbd>a_dict</kbd>
|
||||
<samp>{'server': 'db.diveintopython3.org', 'user': 'dora', 'database': 'blog'}</samp>
|
||||
<a><samp class="prompt">>>> </samp><kbd>a_dict["User"] = "mark"</kbd> <span>⑤</span></a>
|
||||
<samp class="prompt">>>> </samp><kbd>a_dict</kbd>
|
||||
|
||||
Reference in New Issue
Block a user