extend(x, ...)
defaults(x, defaults)
x
x
extend
overrides the entries in the first dictionary with entries from the following objects,
left to right (each object overrides entries from the previous argument).defaults
augments the entries in the first dictionary with entries from the second dictionary
that were not present in the first.