summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-10-26 14:50:45 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-10-26 14:50:45 (GMT)
commit74b51ac1e5fb76250251a66d8d326baaaf1f1cee (patch)
tree2fd291bbcbfd19c22193e1102b204989ecebeab6 /Doc
parentedb6bff67fdb72718ed656d39ac71317ada37a04 (diff)
downloadcpython-74b51ac1e5fb76250251a66d8d326baaaf1f1cee.zip
cpython-74b51ac1e5fb76250251a66d8d326baaaf1f1cee.tar.gz
cpython-74b51ac1e5fb76250251a66d8d326baaaf1f1cee.tar.bz2
Patch #613256: Add nescape method to xml.sax.saxutils.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/xmlsaxutils.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/lib/xmlsaxutils.tex b/Doc/lib/xmlsaxutils.tex
index 6ab8d4a..91f25a4 100644
--- a/Doc/lib/xmlsaxutils.tex
+++ b/Doc/lib/xmlsaxutils.tex
@@ -22,6 +22,17 @@ either in direct use, or as base classes.
strings; each key will be replaced with its corresponding value.
\end{funcdesc}
+\begin{funcdesc}{unescape}{data\optional{, entities}}
+ Unescape \character{\&amp;}, \character{\&lt;}, and \character{\&gt;}
+ 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
used as an attribute value. The return value is a quoted version of