spread object in python code example Example: spread object python >>> d = {'x': '2', 'y': '1'} >>> {**d, 'x':1} {'x': 1, 'y': '1'}