1
0
forked from VimPlug/jedi

Revert "Remove an used function"

This reverts commit efd8861d62.
This commit is contained in:
Dave Halter
2019-02-21 17:54:01 +01:00
parent b4a4dacebd
commit 48b137a7f5

View File

@@ -123,6 +123,8 @@ def time_cache(seconds):
result = func(*args, **kwargs)
cache[key] = time.time(), result
return result
wrapper.clear_cache = lambda: cache.clear()
return wrapper
return decorator