@装饰器def a(fun): def c(): print("新功能") fun() print("新功能") return fun@adef b(): print("之前的方法")对b函数进行修改,补充,通过@a将a装饰方法与b方法进行连接