summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2013-05-20 09:40:13 -0400
committerLeonard Richardson <leonardr@segfault.org>2013-05-20 09:40:13 -0400
commit9f370bad91d80570a57156f53c6a9efc918ff90f (patch)
tree0484f795e984ef8a19cb88c772fee1d2f30f94ef /doc/source
parentdae9722244850754533647c77f418f626ba05124 (diff)
html5lib now supports Python 3. Fixed some Python 2-specific
code in the html5lib test suite. [bug=1181624]
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/index.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 5d4c0fe..e254855 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -239,10 +239,10 @@ you might install lxml with one of these commands:
:kbd:`$ pip install lxml`
-If you're using Python 2, another alternative is the pure-Python
-`html5lib parser <http://code.google.com/p/html5lib/>`_, which parses
-HTML the way a web browser does. Depending on your setup, you might
-install html5lib with one of these commands:
+Another alternative is the pure-Python `html5lib parser
+<http://code.google.com/p/html5lib/>`_, which parses HTML the way a
+web browser does. Depending on your setup, you might install html5lib
+with one of these commands:
:kbd:`$ apt-get install python-html5lib`
@@ -270,7 +270,7 @@ This table summarizes the advantages and disadvantages of each parser library:
| html5lib | ``BeautifulSoup(markup, "html5lib")`` | * Extremely lenient | * Very slow |
| | | * Parses pages the same way a | * External Python |
| | | web browser does | dependency |
-| | | * Creates valid HTML5 | * Python 2 only |
+| | | * Creates valid HTML5 | |
+----------------------+--------------------------------------------+--------------------------------+--------------------------+
If you can, I recommend you install and use lxml for speed. If you're