Kaydet (Commit) 7b578b3d authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Mention hashable memoryviews, and reformat.

üst 0599b5b2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment