partial,将函数和方法合并为一个函数
partial
partia(func, 1)
想当于
func(1)
本文标题:Python partial
本文链接:https://www.haomeiwen.com/subject/pkqboftx.html
网友评论