diff options
author | Curtis Bucher <cpbucher5@gmail.com> | 2020-03-25 01:51:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 01:51:29 (GMT) |
commit | 8f1ed21ecf57cc8b8095d9d1058af2b9b3ed0413 (patch) | |
tree | d74da03f51570b5a14c1e0a718cfdf47eaa6148d /Doc | |
parent | 37fcbb65d4589fbb5a72153e9338cf8e6495f64f (diff) | |
download | cpython-8f1ed21ecf57cc8b8095d9d1058af2b9b3ed0413.zip cpython-8f1ed21ecf57cc8b8095d9d1058af2b9b3ed0413.tar.gz cpython-8f1ed21ecf57cc8b8095d9d1058af2b9b3ed0413.tar.bz2 |
bpo-36144: Add union operators to WeakValueDictionary584 (#19127)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/weakref.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index c10f436..12eb985 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. |