[Lxml-checkins] r53748 - lxml/branch/lxml-2.0/doc
scoder at codespeak.net
scoder at codespeak.net
Sun Apr 13 20:37:36 CEST 2008
Author: scoder
Date: Sun Apr 13 20:37:35 2008
New Revision: 53748
Modified:
lxml/branch/lxml-2.0/doc/elementsoup.txt
Log:
remove redundant example code from docs
Modified: lxml/branch/lxml-2.0/doc/elementsoup.txt
==============================================================================
--- lxml/branch/lxml-2.0/doc/elementsoup.txt (original)
+++ lxml/branch/lxml-2.0/doc/elementsoup.txt Sun Apr 13 20:37:35 2008
@@ -129,5 +129,3 @@
... ignore = tostring(root, encoding=unicode)
... except UnicodeDecodeError:
... root = lxml.html.soupparser.fromstring(tag_soup)
- ... # try again, but don't catch the exception this time
- ... ignore = tostring(root, encoding=unicode)
More information about the lxml-checkins
mailing list