Try to recommend using parso without diff_cache.

This commit is contained in:
Dave Halter
2017-09-04 22:03:12 +02:00
parent dcdd3bbc8e
commit 2067845cef
+4 -2
View File
@@ -61,8 +61,10 @@ class Grammar(object):
:param bool diff_cache: Diffs the cached python module against the new :param bool diff_cache: Diffs the cached python module against the new
code and tries to parse only the parts that have changed. Returns code and tries to parse only the parts that have changed. Returns
the same (changed) module that is found in cache. Using this option the same (changed) module that is found in cache. Using this option
requires you to not do anything anymore with the old cached module, requires you to not do anything anymore with the cached modules
because the contents of it might have changed. under that path, because the contents of it might change. This
option is still somewhat experimental. If you want stability,
please don't use it.
:param bool cache_path: If given saves the parso cache in this :param bool cache_path: If given saves the parso cache in this
directory. If not given, defaults to the default cache places on directory. If not given, defaults to the default cache places on
each platform. each platform.