Python Function Dictionary Parameter Def