Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
fbd4fe2195402331b7a529d87b8dcc3f9b81f61d
/
Doc
/
library
/
html.rst
a199368
More source links.
by Raymond Hettinger
· 14 years ago
1f7fffb
#2830: add html.escape() helper and move cgi.escape() uses in the standard library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning.
by Georg Brandl
· 14 years ago