1
0
forked from VimPlug/jedi

Rename parser.utils to parser.cache.

This commit is contained in:
Dave Halter
2017-03-30 01:57:48 +02:00
parent db364bc44d
commit 35fd1c70bd
9 changed files with 16 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ import re
from jedi._compatibility import u
from jedi import settings
from jedi import common
from jedi.parser import utils as parser_utils
from jedi.parser.cache import parser_cache
from jedi.cache import memoize_method
from jedi.evaluate import representation as er
from jedi.evaluate import instance
@@ -391,7 +391,7 @@ class BaseDefinition(object):
return ''
path = self._name.get_root_context().py__file__()
lines = parser_utils.parser_cache[path].lines
lines = parser_cache[path].lines
line_nr = self._name.start_pos[0]
start_line_nr = line_nr - before