Set Default Method In Python Dictionary Functions