summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.7.rst
diff options
context:
space:
mode:
authorOz N Tiram <oz.tiram@gmail.com>2017-06-06 09:35:59 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2017-06-06 09:35:59 (GMT)
commit8b7a4cc40e9b2f34da94efb75b158da762624015 (patch)
tree5dd313ea843dbb65f0dd5702b61c5feafb43e5a6 /Doc/whatsnew/3.7.rst
parent167e0fc211c06df52aff1a81f513763374cb4f88 (diff)
downloadcpython-8b7a4cc40e9b2f34da94efb75b158da762624015.zip
cpython-8b7a4cc40e9b2f34da94efb75b158da762624015.tar.gz
cpython-8b7a4cc40e9b2f34da94efb75b158da762624015.tar.bz2
bpo-30095: Make CSS classes used by calendar.HTMLCalendar customizable (GH-1439)
Several class attributes have been added to calendar.HTMLCalendar that allow customization of the CSS classes used in the resulting HTML. This can be done by subclasses HTMLCalendar and overwriting those class attributes (Patch by Oz Tiram).
Diffstat (limited to 'Doc/whatsnew/3.7.rst')
-rw-r--r--Doc/whatsnew/3.7.rst23
1 files changed, 16 insertions, 7 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 761c85f..602db8c 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -103,13 +103,6 @@ New Modules
Improved Modules
================
-cgi
----
-
-:func:`~cgi.parse_multipart` returns the same results as
-:class:`~FieldStorage` : for non-file fields, the value associated to a key
-is a list of strings, not bytes.
-(Contributed by Pierre Quentel in :issue:`29979`.)
binascii
--------
@@ -118,6 +111,22 @@ The :func:`~binascii.b2a_uu` function now accepts an optional *backtick*
keyword argument. When it's true, zeros are represented by ``'`'``
instead of spaces. (Contributed by Xiang Zhang in :issue:`30103`.)
+
+calendar
+--------
+
+The :class:`~calendar.HTMLCalendar` has added new class attribute which ease the
+customisation the CSS classes in the produced HTML calendar.
+(Contributed by Oz Tiram in :issue:`30095`.)
+
+cgi
+---
+
+:func:`~cgi.parse_multipart` returns the same results as
+:class:`~FieldStorage` : for non-file fields, the value associated to a key
+is a list of strings, not bytes.
+(Contributed by Pierre Quentel in :issue:`29979`.)
+
contextlib
----------