mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Close #18690: register memoryview with Sequence ABC
This commit is contained in:
parent
a0f169cde8
commit
45163ccce4
4 changed files with 10 additions and 0 deletions
|
@ -2458,6 +2458,10 @@ copying.
|
|||
.. versionchanged:: 3.3
|
||||
One-dimensional memoryviews with formats 'B', 'b' or 'c' are now hashable.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
memoryview is now registered automatically with
|
||||
:class:`collections.abc.Sequence`
|
||||
|
||||
:class:`memoryview` has several methods:
|
||||
|
||||
.. method:: __eq__(exporter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue