mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
Move dangling bullet points into named subsections (GH-13046)
This commit is contained in:
parent
adbf178e49
commit
482b6b565a
1 changed files with 16 additions and 11 deletions
|
@ -216,17 +216,6 @@ New Modules
|
||||||
Improved Modules
|
Improved Modules
|
||||||
================
|
================
|
||||||
|
|
||||||
* The :meth:`_asdict()` method for :func:`collections.namedtuple` now returns
|
|
||||||
a :class:`dict` instead of a :class:`collections.OrderedDict`. This works because
|
|
||||||
regular dicts have guaranteed ordering in since Python 3.7. If the extra
|
|
||||||
features of :class:`OrderedDict` are required, the suggested remediation is
|
|
||||||
to cast the result to the desired type: ``OrderedDict(nt._asdict())``.
|
|
||||||
(Contributed by Raymond Hettinger in :issue:`35864`.)
|
|
||||||
|
|
||||||
* The :mod:`unicodedata` module has been upgraded to use the `Unicode 12.0.0
|
|
||||||
<http://blog.unicode.org/2019/03/announcing-unicode-standard-version-120.html>`_
|
|
||||||
release.
|
|
||||||
|
|
||||||
|
|
||||||
asyncio
|
asyncio
|
||||||
-------
|
-------
|
||||||
|
@ -234,6 +223,17 @@ asyncio
|
||||||
On Windows, the default event loop is now :class:`~asyncio.ProactorEventLoop`.
|
On Windows, the default event loop is now :class:`~asyncio.ProactorEventLoop`.
|
||||||
|
|
||||||
|
|
||||||
|
collections
|
||||||
|
-----------
|
||||||
|
|
||||||
|
The :meth:`_asdict()` method for :func:`collections.namedtuple` now returns
|
||||||
|
a :class:`dict` instead of a :class:`collections.OrderedDict`. This works because
|
||||||
|
regular dicts have guaranteed ordering in since Python 3.7. If the extra
|
||||||
|
features of :class:`OrderedDict` are required, the suggested remediation is
|
||||||
|
to cast the result to the desired type: ``OrderedDict(nt._asdict())``.
|
||||||
|
(Contributed by Raymond Hettinger in :issue:`35864`.)
|
||||||
|
|
||||||
|
|
||||||
ctypes
|
ctypes
|
||||||
------
|
------
|
||||||
|
|
||||||
|
@ -490,10 +490,15 @@ Added new clock :data:`~time.CLOCK_UPTIME_RAW` for macOS 10.12.
|
||||||
unicodedata
|
unicodedata
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
* The :mod:`unicodedata` module has been upgraded to use the `Unicode 12.0.0
|
||||||
|
<http://blog.unicode.org/2019/03/announcing-unicode-standard-version-120.html>`_
|
||||||
|
release.
|
||||||
|
|
||||||
* New function :func:`~unicodedata.is_normalized` can be used to verify a string
|
* New function :func:`~unicodedata.is_normalized` can be used to verify a string
|
||||||
is in a specific normal form. (Contributed by Max Belanger and David Euresti in
|
is in a specific normal form. (Contributed by Max Belanger and David Euresti in
|
||||||
:issue:`32285`).
|
:issue:`32285`).
|
||||||
|
|
||||||
|
|
||||||
unittest
|
unittest
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue