Add entry for the html module.

This commit is contained in:
Raymond Hettinger 2011-01-24 05:26:00 +00:00
parent d0d59b138d
commit a3b7a14d16
1 changed files with 11 additions and 0 deletions

View File

@ -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 &gt; 2 &amp;&amp; x &lt; 7'
socket
------