summaryrefslogtreecommitdiffstats
path: root/Lib/collections
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-03-21 08:37:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-03-21 08:37:37 (GMT)
commit32ea16577d2fd8994730250572957888c3e48f84 (patch)
treeef64b1b9c8022d3eb3bf089330060199be61a212 /Lib/collections
parent0a9e2721fa8605e7e8957bf658718a63c286c8b1 (diff)
downloadcpython-32ea16577d2fd8994730250572957888c3e48f84.zip
cpython-32ea16577d2fd8994730250572957888c3e48f84.tar.gz
cpython-32ea16577d2fd8994730250572957888c3e48f84.tar.bz2
Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence.
Diffstat (limited to 'Lib/collections')
-rw-r--r--Lib/collections/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
index ce67f0b..9fd3532 100644
--- a/Lib/collections/__init__.py
+++ b/Lib/collections/__init__.py
@@ -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
################################################################################