forked from VimPlug/jedi
Introduce py__next__ to have more clear way to use __next__
This commit is contained in:
@@ -175,6 +175,9 @@ class Value(HelperValueMixin):
|
||||
message="TypeError: '%s' object is not iterable" % self)
|
||||
return iter([])
|
||||
|
||||
def py__next__(self, contextualized_node=None):
|
||||
return self.py__iter__(contextualized_node)
|
||||
|
||||
def get_signatures(self):
|
||||
return []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user