Commit a1b0f6d9 authored by Eli Bendersky's avatar Eli Bendersky

Issue #15586: fix prompts in some documentation examples

parent cd7128a5
...@@ -150,7 +150,7 @@ attribute to the rank element:: ...@@ -150,7 +150,7 @@ attribute to the rank element::
... rank.text = str(new_rank) ... rank.text = str(new_rank)
... rank.set('updated', 'yes') ... rank.set('updated', 'yes')
... ...
... tree.write('output.xml') >>> tree.write('output.xml')
Our XML now looks like this: Our XML now looks like this:
...@@ -188,7 +188,7 @@ remove all countries with a rank higher than 50:: ...@@ -188,7 +188,7 @@ remove all countries with a rank higher than 50::
... if rank > 50: ... if rank > 50:
... root.remove(country) ... root.remove(country)
... ...
... tree.write('output.xml') >>> tree.write('output.xml')
Our XML now looks like this: Our XML now looks like this:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment