mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +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
|
@ -643,6 +643,7 @@ class Sequence(Sized, Iterable, Container):
|
|||
Sequence.register(tuple)
|
||||
Sequence.register(str)
|
||||
Sequence.register(range)
|
||||
Sequence.register(memoryview)
|
||||
|
||||
|
||||
class ByteString(Sequence):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue