1
0
forked from VimPlug/jedi

Use some solid caching for typing

This commit is contained in:
Dave Halter
2018-09-12 22:58:35 +02:00
parent 6f8385143f
commit a646d930c8
4 changed files with 61 additions and 32 deletions

View File

@@ -287,8 +287,6 @@ class StubParserTreeFilter(ParserTreeFilter):
# for all API accesses. Otherwise the user will be directed to the
# non-stub positions (see NameWithStub).
n = TreeNameDefinition(self.context, name)
if isinstance(self.context, TypingModuleWrapper):
n = TypingModuleName(n)
if len(non_stub_names):
for non_stub_name in non_stub_names:
if isinstance(non_stub_name, CompiledName):