[Python-checkins] r83162 - python/branches/py3k/Doc/library/xml.dom.minidom.rst

andrew.kuchling python-checkins at python.org
Mon Jul 26 14:54:02 CEST 2010


Author: andrew.kuchling
Date: Mon Jul 26 14:54:02 2010
New Revision: 83162

Log:
#7637: fix a grammar error; simplify a sentence

Modified:
   python/branches/py3k/Doc/library/xml.dom.minidom.rst

Modified: python/branches/py3k/Doc/library/xml.dom.minidom.rst
==============================================================================
--- python/branches/py3k/Doc/library/xml.dom.minidom.rst	(original)
+++ python/branches/py3k/Doc/library/xml.dom.minidom.rst	Mon Jul 26 14:54:02 2010
@@ -142,7 +142,7 @@
    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 @@
    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:


More information about the Python-checkins mailing list