摘要:
# -*- coding:utf-8 def a_new_decorator(a_func): def wrapTheFunction(): print("I am doing some boring work before executing a_func()") a_func() print(" 阅读全文
posted @ 2020-03-27 15:29
南山散人
阅读(83)
评论(0)
推荐(0)
摘要:
# -*- coding:utf-8 from functools import reduce def test_args(f_arg,*args): print("f_arg is", f_arg) for arg in args: print ("another arg through *arg 阅读全文
posted @ 2020-03-27 15:00
南山散人
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号