forked from VimPlug/jedi
Remove an used function
This commit is contained in:
@@ -123,8 +123,6 @@ def time_cache(seconds):
|
|||||||
result = func(*args, **kwargs)
|
result = func(*args, **kwargs)
|
||||||
cache[key] = time.time(), result
|
cache[key] = time.time(), result
|
||||||
return result
|
return result
|
||||||
|
|
||||||
wrapper.clear_cache = lambda: cache.clear()
|
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
return decorator
|
return decorator
|
||||||
|
|||||||
Reference in New Issue
Block a user