ID EN
Built-in Types

d |= other

Python 3.11

Update the dictionary d with keys and values from other, which may be either a mapping or an iterable of key/value pairs. The values of other take priority when d and other share keys.

Syntax

PYTHON
d |= other

See Also

mapping iterable