Issue #15586: fix prompts in some documentation examples

This commit is contained in:
Eli Bendersky 2012-08-18 05:42:22 +03:00
parent cd7128a549
commit a1b0f6d9be

View file

@ -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: