diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-10-26 14:50:45 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-10-26 14:50:45 (GMT) |
commit | 74b51ac1e5fb76250251a66d8d326baaaf1f1cee (patch) | |
tree | 2fd291bbcbfd19c22193e1102b204989ecebeab6 /Doc | |
parent | edb6bff67fdb72718ed656d39ac71317ada37a04 (diff) | |
download | cpython-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.tex | 11 |
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{\&}, \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 used as an attribute value. The return value is a quoted version of |