[Python-checkins] python/dist/src/Doc/lib xmldom.tex,1.24,1.25

jlgijsbers at users.sourceforge.net jlgijsbers at users.sourceforge.net
Sun Nov 7 20:55:20 CET 2004

Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8675

Modified Files:
Log Message:
Patch #1062033 / bug #1027771: clarify what happens when calling
insertBefore() with refChild=None.

Index: xmldom.tex
RCS file: /cvsroot/python/python/dist/src/Doc/lib/xmldom.tex,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- xmldom.tex	17 Jun 2004 21:34:05 -0000	1.24
+++ xmldom.tex	7 Nov 2004 19:55:18 -0000	1.25
@@ -340,7 +340,9 @@
 \begin{methoddesc}[Node]{insertBefore}{newChild, refChild}
 Insert a new child node before an existing child.  It must be the case
 that \var{refChild} is a child of this node; if not,
-\exception{ValueError} is raised.  \var{newChild} is returned.
+\exception{ValueError} is raised.  \var{newChild} is returned. If
+\var{refChild} is \code{None}, it inserts \var{newChild} at the end of
+the children's list.

More information about the Python-checkins mailing list