forked from VimPlug/jedi
Document get_sys_path and change the signature of get_system_environment a bit
This commit is contained in:
@@ -131,6 +131,7 @@ def time_cache(seconds):
|
||||
|
||||
def memoize_method(method):
|
||||
"""A normal memoize function."""
|
||||
@wraps(method)
|
||||
def wrapper(self, *args, **kwargs):
|
||||
cache_dict = self.__dict__.setdefault('_memoize_method_dct', {})
|
||||
dct = cache_dict.setdefault(method, {})
|
||||
|
||||
Reference in New Issue
Block a user