summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.dom.minidom.rst
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2010-07-26 12:54:02 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2010-07-26 12:54:02 (GMT)
commit57a7c3df85e7a759f7c16500fb52767c53b7e6c9 (patch)
tree66718402cf4e4b44696879bed63af72a42bd9171 /Doc/library/xml.dom.minidom.rst
parentae51c17e6e1ec5a2f790fbcdef0da0b475e66da7 (diff)
downloadcpython-57a7c3df85e7a759f7c16500fb52767c53b7e6c9.zip
cpython-57a7c3df85e7a759f7c16500fb52767c53b7e6c9.tar.gz
cpython-57a7c3df85e7a759f7c16500fb52767c53b7e6c9.tar.bz2
#7637: fix a grammar error; simplify a sentence
Diffstat (limited to 'Doc/library/xml.dom.minidom.rst')
-rw-r--r--Doc/library/xml.dom.minidom.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index 1efa3d9..e6f2253 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -142,7 +142,7 @@ module documentation. This section lists the differences between the API and
With an explicit *encoding* [1]_ argument, the result is a byte
string in the specified encoding. It is recommended that you
always specify an encoding; you may use any encoding you like, but
- an argument of "utf-8" is the most common, avoid
+ an argument of "utf-8" is the most common choice, avoiding
:exc:`UnicodeError` exceptions in case of unrepresentable text
data.
@@ -157,8 +157,8 @@ module documentation. This section lists the differences between the API and
indentation string and defaults to a tabulator; *newl* specifies the string
emitted at the end of each line and defaults to ``\n``.
- There's also an *encoding* argument, that behaves like the corresponding
- argument of :meth:`toxml`.
+ The *encoding* argument behaves like the corresponding argument of
+ :meth:`toxml`.
.. _dom-example: