Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
6ee7a57b3830fdaf53870111948f6ecd806ab239
/
Lib
/
test
/
test_html.py
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