In Python 3 when I had to merge two dicts I usually did something like this -
payload = {'key':'value'}
another_payload = {'another_key':'another_val'}
final_payload = {**payload, **another_payload}
However, now when I do the same in Python 2.7 it throws a Syntax Error. Does Python2 not support it? If it supports how to do the above?