<"..
>stdin>以下代码自定义了一个函数tsfunc.:
;>. pass
提示如下异常
>.,作为foo函数的修饰器
>
TypeError;>. return func()
;>., in <., called"..,func. print ", line 1;.;%s;> def tsfunc(func); %(ctime();module>.,%s..__name__)
:
File " @tsfunc
: '> foo()
Traceback (most recent call last). def foo();NoneType':
;>