[Lxml-checkins] r45120 - lxml/trunk/doc
scoder at codespeak.net
scoder at codespeak.net
Mon Jul 16 00:17:55 CEST 2007
Author: scoder
Date: Mon Jul 16 00:17:54 2007
New Revision: 45120
Modified:
lxml/trunk/doc/compatibility.txt
Log:
doc cleanup
Modified: lxml/trunk/doc/compatibility.txt
==============================================================================
--- lxml/trunk/doc/compatibility.txt (original)
+++ lxml/trunk/doc/compatibility.txt Mon Jul 16 00:17:54 2007
@@ -122,8 +122,8 @@
not. This means that a comment text "text" that ElementTree serializes as
"<!-- text -->" will become "<!--text-->" in lxml.
-* When '*' is used as filter in the ``Element.getiterator()`` method,
- ElementTree returns all elements in the tree, including comments and
+* When the string '*' is used as tag filter in the ``Element.getiterator()``
+ method, ElementTree returns all elements in the tree, including comments and
processing instructions. lxml.etree only returns real Elements, i.e. tree
nodes that have a string tag name. Without a filter, both libraries iterate
over all nodes.
More information about the lxml-checkins
mailing list