摘要: 请写出log实现(主要功能时打印函数名) @log def now(): print "2013-12-25" now() 输出 call now() 2013-12-25 import functools def log(func): @functools.wraps(func) def inne 阅读全文
posted @ 2020-05-09 22:56 扎小辫的胖虎 阅读(83) 评论(0) 推荐(0) 编辑