extend

dictionary extend(dict1, dict2, …, dictN)

Returns a new dictionary with the combined entries of all dictionaries, keeping the value of the right-most directory for duplicate keys.

Parameters

  1. dict1 — first dictionary.
  2. dict2 — second dictionary.
  3. dictN — optional N-th dictionary.

Returns