1
0
forked from VimPlug/jedi

Use even more stubs to get more complex completions for e.g. strings working

This commit is contained in:
Dave Halter
2019-06-07 02:37:51 +02:00
parent 97f342fc4c
commit 94dfe7bf69
10 changed files with 48 additions and 15 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class AbstractInstanceContext(Context):
def iterate():
for generator in self.execute_function_slots(iter_slot_names):
if generator.is_instance():
if generator.is_instance() and not generator.is_compiled():
# `__next__` logic.
if self.evaluator.environment.version_info.major == 2:
name = u'next'