Python how to pass function reference without using mutable type like list or dict

前端 未结 0 1541
故里飘歌
故里飘歌 2021-02-07 06:08

My goal: pass a reference to a function, and be able to update the function later on.

In Python, I believe functions are passed by reference, but a funct

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