Python使用functools模块中的partial函数生成偏函数