Fix generator issues for typing
This commit is contained in:
1 parent
26951f5c18
commit
eef02e5c56
4 files changed
+13
-4
No files matched your search
@@ -76,7 +76,7 @@ class GeneratorBase(LazyAttributeOverwrite, IterableMixin):
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return compiled.CompiledContextName(self, 'generator')
|
||||
return compiled.CompiledContextName(self, 'Generator')
|
||||
|
||||
|
||||
class Generator(GeneratorBase):
|
||||
|
||||
Reference in new issue
Block a user