summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@gmail.com>2020-03-06 09:24:08 -0800
committerGitHub <noreply@github.com>2020-03-06 09:24:08 -0800
commit57c9d1725689dde068a7fccaa7500772ecd16d2e (patch)
treefb7f7ecce58aa31d998f12e8f7a8b296667e535d /Doc/library
parent9566842e892c1f600e1dcfadaab4643be8f32901 (diff)
downloadcpython-git-57c9d1725689dde068a7fccaa7500772ecd16d2e.tar.gz
bpo-36144: Implement defaultdict union (GH-18729)
For PEP 585 (this isn't in the PEP but is an obvious follow-up).
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/collections.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 8dcf9451d7..f4a383c8ea 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -729,6 +729,10 @@ stack manipulations such as ``dup``, ``drop``, ``swap``, ``over``, ``pick``,
initialized from the first argument to the constructor, if present, or to
``None``, if absent.
+ .. versionchanged:: 3.9
+ Added merge (``|``) and update (``|=``) operators, specified in
+ :pep:`584`.
+
:class:`defaultdict` Examples
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^