summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorCurtis Bucher <cpbucher5@gmail.com>2020-03-24 18:51:29 -0700
committerGitHub <noreply@github.com>2020-03-24 18:51:29 -0700
commit8f1ed21ecf57cc8b8095d9d1058af2b9b3ed0413 (patch)
treed74da03f51570b5a14c1e0a718cfdf47eaa6148d /Doc/library
parent37fcbb65d4589fbb5a72153e9338cf8e6495f64f (diff)
downloadcpython-git-8f1ed21ecf57cc8b8095d9d1058af2b9b3ed0413.tar.gz
bpo-36144: Add union operators to WeakValueDictionary584 (#19127)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/weakref.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index c10f436bea..12eb985c34 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -200,6 +200,9 @@ than needed.
by the program during iteration may cause items in the dictionary to vanish "by
magic" (as a side effect of garbage collection).
+ .. versionchanged:: 3.9
+ Added support for ``|`` and ``|=`` operators, as specified in :pep:`584`.
+
:class:`WeakValueDictionary` objects have an additional method that has the
same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary`
objects.