1
0
forked from VimPlug/jedi
This commit is contained in:
David Halter
2012-10-21 14:33:14 +02:00
parent 51cfb43716
commit 99739754ef
4 changed files with 11 additions and 4 deletions

View File

@@ -70,7 +70,8 @@ class ModuleWithCursor(Module):
self._parser = parsing.PyFuzzyParser(self.source, self.path,
self.position)
if self.path is not None:
builtin.CachedModule.cache[self.path] = time.time(), self._parser
builtin.CachedModule.cache[self.path] = time.time(), \
self._parser
return self._parser
def get_path_until_cursor(self):