From: Andrew M. Kuchling Date: Mon, 26 Jul 2010 12:54:02 +0000 (+0000) Subject: #7637: fix a grammar error; simplify a sentence X-Git-Tag: v3.2a1~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=57a7c3df85e7a759f7c16500fb52767c53b7e6c9;p=thirdparty%2FPython%2Fcpython.git #7637: fix a grammar error; simplify a sentence --- diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index 1efa3d9fbd48..e6f225326bd4 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: