我在Swift中使用了TMDB中的API。我找到了一个wrapper。安装它与Cocoapods,现在我正在与功能摔跤。我认为自述文件已过时。所以用这个功能我想检索一个流派列表。 例如,在框架的功能: ///Get the list of tv or movie genres.
open class func genres(_ api_key: String!, listType: Ge
我用下面的脚本用于功能test评估是否这些值的范围内: x=[-5,5]
def test(x):
return x
def check(min,max):
def decorator(func):
def wrapper(*args,**kargs):
y=func(*args,**kargs)
for index in rang