From e77a67cd3684ee9b684018b934a2837efbe8f9db Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 22 Mar 2019 20:17:59 +0100 Subject: [PATCH] PEP 8 --- parso/cache.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parso/cache.py b/parso/cache.py index d0465d0..1b61623 100644 --- a/parso/cache.py +++ b/parso/cache.py @@ -45,6 +45,7 @@ we generate something similar. See: http://docs.python.org/3/library/sys.html#sys.implementation """ + def _get_default_cache_path(): if platform.system().lower() == 'windows': dir_ = os.path.join(os.getenv('LOCALAPPDATA') or '~', 'Parso', 'Parso') @@ -54,6 +55,7 @@ def _get_default_cache_path(): dir_ = os.path.join(os.getenv('XDG_CACHE_HOME') or '~/.cache', 'parso') return os.path.expanduser(dir_) + _default_cache_path = _get_default_cache_path() """ The path where the cache is stored.