1
0
forked from VimPlug/jedi

Introduce py__next__ to have more clear way to use __next__

This commit is contained in:
Dave Halter
2020-07-17 12:05:59 +02:00
parent d63fbd8624
commit d1851c369c
4 changed files with 24 additions and 18 deletions

View File

@@ -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 []