1
0
forked from VimPlug/jedi

Remove python_version_match from publish_method

This commit is contained in:
Dave Halter
2020-07-02 03:04:14 +02:00
parent 6e184bca97
commit 1fbe0d8d2e
3 changed files with 7 additions and 12 deletions

View File

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