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:
@@ -22,7 +22,6 @@ ul{list-style:none}
|
||||
<li><a href="case-study-porting-chardet-to-python-3.html">Chapter 20. Case study: porting <code>chardet</code> to Python 3</a>
|
||||
<li><a href="porting-code-to-python-3-with-2to3.html">Appendix A. Porting code to Python 3 with <code>2to3</code></a>
|
||||
</ul>
|
||||
|
||||
<p>There is a <a href="http://hg.diveintopython3.org/">changelog</a>, a <a rel="alternate" type="application/atom+xml" href="http://hg.diveintopython3.org/atom-log">feed</a>, and <a href="http://www.reddit.com/search?q=%22Dive+Into+Python+3%22&sort=new">discussion on Reddit</a>. During development, you can download the book by cloning the Mercurial repository:
|
||||
<pre><samp class="prompt">you@localhost:~$ </samp><kbd>hg clone http://hg.diveintopython3.org/ diveintopython3</kbd></pre>
|
||||
<p>The final version will be downloadable as HTML and PDF.
|
||||
|
||||
@@ -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