1
0
forked from VimPlug/jedi

remove wrong caching of the parser

This commit is contained in:
David Halter
2013-01-12 00:14:30 +01:00
parent 00f7088c05
commit 0219c8fd61

View File

@@ -144,7 +144,6 @@ class CachedFastParser(type):
if pi is None or isinstance(pi.parser, parsing.PyFuzzyParser):
p = super(CachedFastParser, self).__call__(source, module_path,
user_position)
cache.parser_cache[module_path] = p
else:
p = pi.parser # pi is a `cache.ParserCacheItem`
p.update(source, user_position)