summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-03-31 15:12:23 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-03-31 15:12:23 (GMT)
commit41290a68baa41b82711ca24a145e624f9d31cf86 (patch)
tree5697665b39d63870bd0768e7475568495a3d03e2 /Doc
parentb6c15bcad352bc10c6e8a14147a1c2082aa0d3b0 (diff)
downloadcpython-41290a68baa41b82711ca24a145e624f9d31cf86.zip
cpython-41290a68baa41b82711ca24a145e624f9d31cf86.tar.gz
cpython-41290a68baa41b82711ca24a145e624f9d31cf86.tar.bz2
Issue 23793: Add deque support for __add__(), __mul__(), and __imul__().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 2b4e4ba..dd6395d 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -526,6 +526,9 @@ the :keyword:`in` operator, and subscript references such as ``d[-1]``. Indexed
access is O(1) at both ends but slows to O(n) in the middle. For fast random
access, use lists instead.
+Starting in version 3.5, deques support ``__add__()``, ``__mul__()``,
+and ``__imul__()``.
+
Example:
.. doctest::