From 597f4dc0bbcf3863f10f180e0c85b6a87123e2a8 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Sun, 8 Feb 2009 15:38:07 -0500 Subject: [PATCH] html fiddling --- index.html | 1 - native-datatypes.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 1d01cd7..981c9e9 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,6 @@ ul{list-style:none}
  • Chapter 20. Case study: porting chardet to Python 3
  • Appendix A. Porting code to Python 3 with 2to3 -

    There is a changelog, a feed, and discussion on Reddit. During development, you can download the book by cloning the Mercurial repository:

    you@localhost:~$ hg clone http://hg.diveintopython3.org/ diveintopython3

    The final version will be downloadable as HTML and PDF. diff --git a/native-datatypes.html b/native-datatypes.html index 4db6307..3b836ac 100644 --- a/native-datatypes.html +++ b/native-datatypes.html @@ -54,7 +54,7 @@ body{counter-reset:h1 2}

  • Frozen sets --> -
  • Dictionaries +
  • Dictionaries
  • None

    Diving in

    @@ -194,7 +194,7 @@ KeyError: 'db.diveintopython3.org' >>> a_dict {'server': 'db.diveintopython3.org', 'user': 'mark', 'database': 'blog'} >>> a_dict["user"] = "dora" -samp class="prompt">>>> a_dict +>>> a_dict {'server': 'db.diveintopython3.org', 'user': 'dora', 'database': 'blog'} >>> a_dict["User"] = "mark" >>> a_dict