mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
#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.
This commit is contained in:
parent
70543acfa1
commit
1f7fffb308
11 changed files with 94 additions and 28 deletions
|
|
@ -20,6 +20,7 @@ definition of the Python bindings for the DOM and SAX interfaces.
|
|||
|
||||
.. toctree::
|
||||
|
||||
html.rst
|
||||
html.parser.rst
|
||||
html.entities.rst
|
||||
pyexpat.rst
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue