摘要:
g = (i for i in range(10)) print(g) for i in g: print(i) 阅读全文
摘要:
def wrapper(func): #qqxing def inner(*args,**kwargs): ret = func(*args,**kwargs) #被装饰的函数 return ret return inner @wrapper #qqxing = wrapper(qqxing) def qqxing(): ... 阅读全文