Python Dictionary Setdefault Method