Update of /cvsroot/python/python/dist/src/Doc/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13555 Modified Files: xmldomminidom.tex Log Message: minor doc tweaks for writexml Index: xmldomminidom.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/xmldomminidom.tex,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- xmldomminidom.tex 25 Mar 2004 16:39:46 -0000 1.9 +++ xmldomminidom.tex 28 Sep 2004 18:40:42 -0000 1.10 @@ -137,16 +137,20 @@ children of that node. \end{methoddesc} -\begin{methoddesc}[Node]{writexml}{writer} +\begin{methoddesc}[Node]{writexml}{writer\optional{,indent=""\optional{,addindent=""\optional{,newl=""}}}} Write XML to the writer object. The writer should have a \method{write()} method which matches that of the file object -interface. +interface. The \var{indent} parameter is the indentation of the current +node. The \var{addindent} parameter is the incremental indentation to use +for subnodes of the current one. The \var{newl} parameter specifies the +string to use to terminate newlines. -\versionchanged[To support pretty output, new keyword parameters -\var{indent}, \var{addindent}, and \var{newl} have been added]{2.1} +\versionchanged[The optional keyword parameters +\var{indent}, \var{addindent}, and \var{newl} were added to support pretty +output]{2.1} \versionchanged[For the \class{Document} node, an additional keyword -argument encoding can be used to specify the encoding field of the XML +argument \var{encoding} can be used to specify the encoding field of the XML header]{2.3} \end{methoddesc}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4