Confusion about UnboundLocalError: local variable 'number_sum' referenced before assignment when manually applying decorator

后端 未结 0 496
时光取名叫无心
时光取名叫无心 2021-01-14 09:42

Was experimenting with applying memoization decorator to recursive functions using standard python @decorator notation, which worked beautifully. According to much of the d

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