Author: georg.brandl Date: Tue Dec 28 12:15:49 2010 New Revision: 87532 Log: #10781: clarify that *encoding* is not a parameter for Node objects in general. 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 Tue Dec 28 12:15:49 2010 @@ -122,7 +122,7 @@ ... # Work with dom. -.. method:: Node.writexml(writer, indent="", addindent="", newl="", encoding="") +.. method:: Node.writexml(writer, indent="", addindent="", newl="") Write XML to the writer object. The writer should have a :meth:`write` method which matches that of the file object interface. The *indent* parameter is the @@ -130,8 +130,8 @@ indentation to use for subnodes of the current one. The *newl* parameter specifies the string to use to terminate newlines. - For the :class:`Document` node, an additional keyword argument *encoding* can be - used to specify the encoding field of the XML header. + For the :class:`Document` node, an additional keyword argument *encoding* can + be used to specify the encoding field of the XML header. .. method:: Node.toxml(encoding=None)
participants (1)
-
georg.brandl