1
0
forked from VimPlug/jedi

Merge branch 'master' into python3

This commit is contained in:
Dave Halter
2020-07-17 16:07:47 +02:00
13 changed files with 171 additions and 49 deletions

View File

@@ -260,9 +260,8 @@ class ReversedObject(AttributeOverwrite):
def py__iter__(self, contextualized_node):
return self._iter_list
@publish_method('next')
@publish_method('__next__')
def py__next__(self, arguments):
def _next(self, arguments):
return ValueSet.from_sets(
lazy_value.infer() for lazy_value in self._iter_list
)