summaryrefslogtreecommitdiff
path: root/doc/tutorial.txt
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2012-11-21 19:27:15 +0100
committerStefan Behnel <stefan_ml@behnel.de>2012-11-21 19:27:15 +0100
commit334dd178941dd08d4164ccd155b048b0c6ef34be (patch)
treeda84d7475adc058342758a67ea71104cb030b909 /doc/tutorial.txt
parent78227a3cb8b7caa5460ff86c2b00492ae35d760d (diff)
downloadpython-lxml-334dd178941dd08d4164ccd155b048b0c6ef34be.tar.gz
fixed wording in tutorial
Diffstat (limited to 'doc/tutorial.txt')
-rw-r--r--doc/tutorial.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/tutorial.txt b/doc/tutorial.txt
index a3023e65..d1f96c4a 100644
--- a/doc/tutorial.txt
+++ b/doc/tutorial.txt
@@ -479,8 +479,8 @@ serialised the tree to XML:
another - Child 3
If you know you are only interested in a single tag, you can pass its name to
-``iter()`` to have it filter for you. Since lxml 3.0, you can also pass more
-than one tag to intercept on multiple tags during iteration.
+``iter()`` to have it filter for you. Starting with lxml 3.0, you can also
+pass more than one tag to intercept on multiple tags during iteration.
.. sourcecode:: pycon
@@ -571,9 +571,9 @@ ASCII:
Note that pretty printing appends a newline at the end.
-Since lxml 2.0 (and ElementTree 1.3), the serialisation functions can
-do more than XML serialisation. You can serialise to HTML or extract
-the text content by passing the ``method`` keyword:
+In lxml 2.0 and later (as well as ElementTree 1.3), the serialisation
+functions can do more than XML serialisation. You can serialise to
+HTML or extract the text content by passing the ``method`` keyword:
.. sourcecode:: pycon
@@ -1114,7 +1114,7 @@ an Element, not only those that it defines itself.
Therefore, modifying the returned dict cannot have any meaningful
impact on the Element. Any changes to it are ignored.
-Namespaces on attributes work alike, but since version 2.3, lxml.etree
+Namespaces on attributes work alike, but as of version 2.3, lxml.etree
will make sure that the attribute uses a prefixed namespace
declaration. This is because unprefixed attribute names are not
considered being in a namespace by the XML namespace specification