阅读背景:

字典值作为访问键时要调用的函数,不使用" ()"

来源:互联网 

I have a dictionary that has values sometimes as strings, and sometimes as a functions. For the values that are functions is there a way to execute the function without explicitly typing I have a dictionary that has values sometimes a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: