mirror of https://github.com/python/cpython
Add entry for the html module.
This commit is contained in:
parent
d0d59b138d
commit
a3b7a14d16
|
@ -1338,6 +1338,17 @@ The :mod:`sqlite3` module was updated to version 2.6.0. It has two new capabili
|
|||
|
||||
(Contributed by R. David Murray and Shashwat Anand; :issue:`8845`.)
|
||||
|
||||
html
|
||||
----
|
||||
|
||||
A new :mod:`html` module was introduced with only a single function,
|
||||
:func:`~html.escape`, which is used for escaping reserved characters from HTML
|
||||
markup:
|
||||
|
||||
>>> import html
|
||||
>>> html.escape('x > 2 && x < 7')
|
||||
'x > 2 && x < 7'
|
||||
|
||||
socket
|
||||
------
|
||||
|
||||
|
|
Loading…
Reference in New Issue