Difference between dict.clear() and assigning {} in Python?