Tom RitchfordMar 1, 2025I agree that creating a new dictionary is usually safer. Even better, you can just say new_dict = dict1 | dict2 .