阅读背景:

检查Python中函数参数的最佳方法。

来源:互联网 

I'm looking for an efficient way to check variables of a python function. For example, I'd like to check arguments type and value. Is there a module for this? Or should I use something like decorators, or any specific idiom?I'm looking for an efficient way to check varia




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

分享到: