1
0
forked from VimPlug/jedi

user_position removed from Parser. yikes!

This commit is contained in:
Dave Halter
2014-01-17 02:58:03 +01:00
parent 6063093151
commit aa59aee3dc
3 changed files with 10 additions and 15 deletions

View File

@@ -192,9 +192,9 @@ class UserContextParser(object):
def _parser(self):
cache.invalidate_star_import_cache(self._path)
if self._no_docstr:
parser = Parser(self._source, self._path, self._position, no_docstr=self._no_docstr)
parser = Parser(self._source, self._path, no_docstr=self._no_docstr)
else:
parser = FastParser(self._source, self._path, self._position)
parser = FastParser(self._source, self._path)
# Don't pickle that module, because the main module is changing quickly
cache.save_parser(self._path, None, parser, pickling=False)
return parser