forked from VimPlug/jedi
significant speedup due to compiled caching
This commit is contained in:
@@ -102,7 +102,7 @@ class NameFinder(object):
|
||||
"""Checks for both __getattr__ and __getattribute__ methods"""
|
||||
result = []
|
||||
# str is important to lose the NamePart!
|
||||
name = compiled.create(str(self.name_str))
|
||||
name = compiled.create(self._evaluator, str(self.name_str))
|
||||
with common.ignored(KeyError):
|
||||
result = inst.execute_subscope_by_name('__getattr__', [name])
|
||||
if not result:
|
||||
|
||||
Reference in New Issue
Block a user