forked from VimPlug/jedi
Remove python_version_match from publish_method
This commit is contained in:
@@ -52,8 +52,8 @@ class GeneratorBase(LazyAttributeOverwrite, IterableMixin):
|
||||
return ValueSet([self])
|
||||
|
||||
@publish_method('send')
|
||||
@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.py__iter__())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user