Document get_sys_path and change the signature of get_system_environment a bit
This commit is contained in:
1 parent
22b0c0f1fe
commit
ed2a0a8218
2 files changed
+15
-12
No files matched your search
@@ -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