|
@@ -87,7 +87,7 @@ def time_this_function(func):
|
|
start=time.time()
|
|
start=time.time()
|
|
result=func(*args, **kwargs)
|
|
result=func(*args, **kwargs)
|
|
end=time.time()
|
|
end=time.time()
|
|
- console.print("函数:", func.__name__, "运行时间:", round(end - start, 4), "s")
|
|
|
|
|
|
+ console.print("函数:",func.__name__,"运行时间:", round(end - start, 4),"s")
|
|
return result
|
|
return result
|
|
return wrapper
|
|
return wrapper
|
|
|
|
|