>>> x = {} >>> y = x >>> x['key'] = 'value' >>> y {'key': 'value'} >>> x = {} >>> x = {} #### This is wrong! {'key': 'value'} The final line should be : >>> y {'key': 'value'}