[Python-checkins] python/dist/src/Doc/lib xmlsaxutils.tex,1.3,1.4
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sat, 26 Oct 2002 07:50:47 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv29237/Doc/lib
Modified Files:
xmlsaxutils.tex
Log Message:
Patch #613256: Add nescape method to xml.sax.saxutils.
Index: xmlsaxutils.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/xmlsaxutils.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** xmlsaxutils.tex 10 Aug 2001 22:14:17 -0000 1.3
--- xmlsaxutils.tex 26 Oct 2002 14:50:45 -0000 1.4
***************
*** 23,26 ****
--- 23,37 ----
\end{funcdesc}
+ \begin{funcdesc}{unescape}{data\optional{, entities}}
+ Unescape \character{\&}, \character{\<}, and \character{\>}
+ in a string of data.
+
+ You can unescape other strings of data by passing a dictionary as the
+ optional \var{entities} parameter. The keys and values must all be
+ strings; each key will be replaced with its corresponding value.
+
+ \versionadded{2.3}
+ \end{funcdesc}
+
\begin{funcdesc}{quoteattr}{data\optional{, entities}}
Similar to \function{escape()}, but also prepares \var{data} to be