We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4bda6c commit 97b0788Copy full SHA for 97b0788
Lib/types.py
@@ -24,11 +24,10 @@ async def _c(): pass
24
CoroutineType = type(_c)
25
_c.close() # Prevent ResourceWarning
26
27
-# XXX RUSTPYTHON TODO: async generators
28
-# async def _ag():
29
-# yield
30
-# _ag = _ag()
31
-# AsyncGeneratorType = type(_ag)
+async def _ag():
+ yield
+_ag = _ag()
+AsyncGeneratorType = type(_ag)
32
33
class _C:
34
def _m(self): pass
0 commit comments