mirror of https://github.com/python/cpython
Mention hashable memoryviews, and reformat.
This commit is contained in:
parent
0599b5b2a1
commit
7b578b3d89
|
@ -259,26 +259,26 @@ Other Language Changes
|
|||
|
||||
Some smaller changes made to the core Python language are:
|
||||
|
||||
* Stub
|
||||
* Added support for Unicode name aliases and named sequences.
|
||||
Both :func:`unicodedata.lookup()` and ``'\N{...}'`` now resolve name aliases,
|
||||
and :func:`unicodedata.lookup()` resolves named sequences too.
|
||||
|
||||
Added support for Unicode name aliases and named sequences.
|
||||
Both :func:`unicodedata.lookup()` and ``'\N{...}'`` now resolve name aliases,
|
||||
and :func:`unicodedata.lookup()` resolves named sequences too.
|
||||
(Contributed by Ezio Melotti in :issue:`12753`)
|
||||
|
||||
(Contributed by Ezio Melotti in :issue:`12753`)
|
||||
* Equality comparisons on :func:`range` objects now return a result reflecting
|
||||
the equality of the underlying sequences generated by those range objects.
|
||||
|
||||
(:issue:`13021`)
|
||||
|
||||
Equality comparisons on :func:`range` objects now return a result reflecting
|
||||
the equality of the underlying sequences generated by those range objects.
|
||||
* The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()``
|
||||
methods of :class:`bytes` and :class:`bytearray` objects now accept an
|
||||
integer between 0 and 255 as their first argument.
|
||||
|
||||
(:issue:`13021`)
|
||||
(:issue:`12170`)
|
||||
|
||||
* Memoryview objects are now hashable when the underlying object is hashable.
|
||||
|
||||
The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()``
|
||||
methods of :class:`bytes` and :class:`bytearray` objects now accept an
|
||||
integer between 0 and 255 as their first argument.
|
||||
|
||||
(:issue:`12170`)
|
||||
(Contributed by Antoine Pitrou in :issue:`13411`)
|
||||
|
||||
|
||||
New and Improved Modules
|
||||
|
|
Loading…
Reference in New Issue