summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/xml.etree.elementtree.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index b0e009f..16bb00c 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -150,7 +150,7 @@ attribute to the rank element::
... rank.text = str(new_rank)
... rank.set('updated', 'yes')
...
- ... tree.write('output.xml')
+ >>> tree.write('output.xml')
Our XML now looks like this:
@@ -188,7 +188,7 @@ remove all countries with a rank higher than 50::
... if rank > 50:
... root.remove(country)
...
- ... tree.write('output.xml')
+ >>> tree.write('output.xml')
Our XML now looks like this: