I need to work with dict from dict as a copy, but when I change this copy, the original dict changes too. The question is: "Is there any specific documentation, that describes this Python behavior?"
b = {"first_first": 10} # internal dict
a = {"first": b, "second": 5} # full dict
print(a) # {'first': {'first_first': 10}, 'second': 5}
x = a["first"] # new object creation (want to get a copy of the internal dict)
x["first_first"] = 8 # created object modification
print(a) # {'first': {'first_first': 8}, 'second': 5} # Why was initial dict changed? Seems that
# line : x = a["first"] passes a reference