Python decorator taking additional argument anti-pattern

后端 未结 0 1138
栀梦
栀梦 2021-01-06 11:43

Is adding an argument to a function through a wrapper a python anti-pattern? I want to add a wrapper that saves the output of many functions to a location, so a wrapper seem

相关标签:
回答
  • 消灭零回复
提交回复
热议问题