diff options
Diffstat (limited to 'Doc/whatsnew/3.1.rst')
-rw-r--r-- | Doc/whatsnew/3.1.rst | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Doc/whatsnew/3.1.rst b/Doc/whatsnew/3.1.rst index 8aeadb0..f010266 100644 --- a/Doc/whatsnew/3.1.rst +++ b/Doc/whatsnew/3.1.rst @@ -93,8 +93,8 @@ Support was also added for third-party tools like PyYAML. .. seealso:: :pep:`372` - Ordered Dictionaries - PEP written by Armin Ronacher and Raymond Hettinger; implemented by - Raymond Hettinger + PEP written by Armin Ronacher and Raymond Hettinger. Implementation + written by Raymond Hettinger. PEP 378: Format Specifier for Thousands Separator ================================================= @@ -151,6 +151,13 @@ Some smaller changes made to the core Python language are: (Contributed by Raymond Hettinger; :issue:`1696199`.) +* Add a new module, :mod:`ttk` for access to the Tk themed widget set. The + basic idea of ttk is to separate, to the extent possible, the code + implementing a widget's behavior from the code implementing its appearance. + + (Contributed by Kevin Walzer and Guilherme Polo; :issue:`2618` and + :issue:`2983`.) + * The :class:`gzip.GzipFile` and :class:`bz2.BZ2File` classs now support the context manager protocol. @@ -191,11 +198,6 @@ Some smaller changes made to the core Python language are: (Contributed by Raymond Hettinger.) -* :class:`collections.deque` objects now have a read-only attribute - called *maxlen*. - - (Contributed by Raymond Hettinger.) - * :func:`collections.namedtuple` now supports a keyword argument *rename* which lets invalid fieldnames be automatically converted to positional names in the form _0, _1, etc. This is useful when |