mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence.
This commit is contained in:
parent
0a9e2721fa
commit
32ea16577d
6 changed files with 178 additions and 1 deletions
|
@ -16,6 +16,8 @@ from _weakref import proxy as _proxy
|
|||
from itertools import repeat as _repeat, chain as _chain, starmap as _starmap
|
||||
from reprlib import recursive_repr as _recursive_repr
|
||||
|
||||
MutableSequence.register(deque)
|
||||
|
||||
################################################################################
|
||||
### OrderedDict
|
||||
################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue