From 19de3eb5ca1ae9e7994f8d72f83328d83538fd16 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 10 Jul 2019 00:17:28 -0700 Subject: [PATCH] Document that the cache uses pickle files --- parso/grammar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parso/grammar.py b/parso/grammar.py index 68a944a..41bbe20 100644 --- a/parso/grammar.py +++ b/parso/grammar.py @@ -57,7 +57,8 @@ class Grammar(object): :param str path: The path to the file you want to open. Only needed for caching. :param bool cache: Keeps a copy of the parser tree in RAM and on disk if a path is given. Returns the cached trees if the corresponding - files on disk have not changed. + files on disk have not changed. Note that this stores pickle files + on your file system (e.g. for Linux in ``~/.cache/parso/``). :param bool diff_cache: Diffs the cached python module against the new code and tries to parse only the parts that have changed. Returns the same (changed) module that is found in cache. Using this option