>>> d.values() == d.values()
False
+ .. describe:: d | other
+
+ Create a new dictionary with the merged keys and values of *d* and
+ *other*, which must both be dictionaries. The values of *other* take
+ priority when *d* and *other* share keys.
+
+ .. versionadded:: 3.9
+
+ .. describe:: d |= other
+
+ Update the dictionary *d* with keys and values from *other*, which may be
+ either a :term:`mapping` or an :term:`iterable` of key/value pairs. The
+ values of *other* take priority when *d* and *other* share keys.
+
+ .. versionadded:: 3.9
+
Dictionaries compare equal if and only if they have the same ``(key,
value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', '>') raise
:exc:`TypeError`.
New Features
============
+Dictionary Merge & Update Operators
+-----------------------------------
+
+Merge (``|``) and update (``|=``) operators have been added to the built-in
+:class:`dict` class. See :pep:`584` for a full description.
+(Contributed by Brandt Bucher in :issue:`36144`.)
Other Language Changes