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:
|
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.
|
(Contributed by Ezio Melotti in :issue:`12753`)
|
||||||
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`)
|
* 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 ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()``
|
||||||
the equality of the underlying sequences generated by those range objects.
|
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()``
|
(Contributed by Antoine Pitrou in :issue:`13411`)
|
||||||
methods of :class:`bytes` and :class:`bytearray` objects now accept an
|
|
||||||
integer between 0 and 255 as their first argument.
|
|
||||||
|
|
||||||
(:issue:`12170`)
|
|
||||||
|
|
||||||
|
|
||||||
New and Improved Modules
|
New and Improved Modules
|
||||||
|
|
Loading…
Reference in New Issue