diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-24 05:26:00 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-24 05:26:00 (GMT) |
commit | a3b7a14d16b25f41a98cc3d2491e80528ee82a3d (patch) | |
tree | 8e16b1f1d3f61acd5501c852d2c755835269f2fd /Doc | |
parent | d0d59b138d3e7d45f2b47e22346d80b894be22c1 (diff) | |
download | cpython-a3b7a14d16b25f41a98cc3d2491e80528ee82a3d.zip cpython-a3b7a14d16b25f41a98cc3d2491e80528ee82a3d.tar.gz cpython-a3b7a14d16b25f41a98cc3d2491e80528ee82a3d.tar.bz2 |
Add entry for the html module.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.2.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 3f23a14..9fcf6bf 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -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 ------ |