[Python-checkins] r88158 - python/branches/py3k/Doc/whatsnew/3.2.rst
raymond.hettinger
python-checkins at python.org
Mon Jan 24 06:26:00 CET 2011
Author: raymond.hettinger
Date: Mon Jan 24 06:26:00 2011
New Revision: 88158
Log:
Add entry for the html module.
Modified:
python/branches/py3k/Doc/whatsnew/3.2.rst
Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.2.rst (original)
+++ python/branches/py3k/Doc/whatsnew/3.2.rst Mon Jan 24 06:26:00 2011
@@ -1338,6 +1338,17 @@
(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
------
More information about the Python-checkins
mailing list