summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-08-15 11:26:30 (GMT)
committerEli Bendersky <eliben@gmail.com>2012-08-15 11:26:30 (GMT)
commit3115f0d14b5a8b65be57f21c0866586bd4e06fa2 (patch)
tree2187c0c2e49073a4d09e86601796536d706989f0 /Doc
parent7f848337263e5a703e3e15b5f6d123d3fde2b221 (diff)
downloadcpython-3115f0d14b5a8b65be57f21c0866586bd4e06fa2.zip
cpython-3115f0d14b5a8b65be57f21c0866586bd4e06fa2.tar.gz
cpython-3115f0d14b5a8b65be57f21c0866586bd4e06fa2.tar.bz2
Issue #15586: typo fix. This commit is accompanied by an apology for all Liechtensteiners out there, and a thanks to Eric Araujo for noticing.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/xml.etree.elementtree.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index 813e0e3..b0e009f 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -41,7 +41,7 @@ We'll be using the following XML document as the sample data for this section:
<?xml version="1.0"?>
<data>
- <country name="Liechtenshtein">
+ <country name="Liechtenstein">
<rank>1</rank>
<year>2008</year>
<gdppc>141100</gdppc>
@@ -89,7 +89,7 @@ It also has children nodes over which we can iterate::
>>> for child in root:
... print(child.tag, child.attrib)
...
- country {'name': 'Liechtenshtein'}
+ country {'name': 'Liechtenstein'}
country {'name': 'Singapore'}
country {'name': 'Panama'}
@@ -124,7 +124,7 @@ content. :meth:`Element.get` accesses the element's attributes::
... name = country.get('name')
... print(name, rank)
...
- Liechtenshtein 1
+ Liechtenstein 1
Singapore 4
Panama 68
@@ -158,7 +158,7 @@ Our XML now looks like this:
<?xml version="1.0"?>
<data>
- <country name="Liechtenshtein">
+ <country name="Liechtenstein">
<rank updated="yes">2</rank>
<year>2008</year>
<gdppc>141100</gdppc>
@@ -196,7 +196,7 @@ Our XML now looks like this:
<?xml version="1.0"?>
<data>
- <country name="Liechtenshtein">
+ <country name="Liechtenstein">
<rank updated="yes">2</rank>
<year>2008</year>
<gdppc>141100</gdppc>