decorator里的函数:functools.wraps(f),用于将原函数属性复制给新函数 偏函数:int2=functools.partial(int,base=2) import functools