summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-08-18 02:42:22 (GMT)
committerEli Bendersky <eliben@gmail.com>2012-08-18 02:42:22 (GMT)
commita1b0f6d9bedf2de4ee182ea9d70aae8ac9ce7659 (patch)
treeb43a6f1b362ad3ea59041149af9a86e41cd194b6 /Doc
parentcd7128a549ffa8b264f4ef0c038b2ba112fd72e4 (diff)
downloadcpython-a1b0f6d9bedf2de4ee182ea9d70aae8ac9ce7659.zip
cpython-a1b0f6d9bedf2de4ee182ea9d70aae8ac9ce7659.tar.gz
cpython-a1b0f6d9bedf2de4ee182ea9d70aae8ac9ce7659.tar.bz2
Issue #15586: fix prompts in some documentation examples
Diffstat (limited to 'Doc')
-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: