mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-36144: Add union operators to WeakValueDictionary584 (#19127)
This commit is contained in:
parent
37fcbb65d4
commit
8f1ed21ecf
4 changed files with 60 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue