1
0
forked from VimPlug/jedi

Small improvements to generator/async completions

This commit is contained in:
Dave Halter
2026-04-29 23:38:07 +02:00
parent be993d132e
commit 4f7dfd14b3
9 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class GeneratorBase(LazyAttributeOverwrite, IterableMixin):
return instance
def _get_cls(self):
generator, = self.inference_state.typing_module.py__getattribute__('Generator')
generator, = self.inference_state.types_module.py__getattribute__('GeneratorType')
return generator
def py__bool__(self):