首页
运维笔记
SEO心得
软件程序
网站源码
旗下网站
programmer
登录
标签
pythonUsing setattr to decorate
python - Using `setattr` to decorate functions from another module - Stack Overflow
I'm having trouble applying a decorator to an imported function. Suppose I have the following foo.
pythonUsing setattr to decorate functions from another moduleStack Overflow
admin
18小时前
2
0