Uncomment AsyncGeneratorType in types.py

This commit is contained in:
Noah committed 2020-04-05 14:57:28 -05:00
1 parent d4bda6c02e
commit 97b07885ad
1 file changed
+4 -5
+4 -5
View File
@@ -24,11 +24,10 @@ _c = _c()
CoroutineType = type(_c)
_c.close() # Prevent ResourceWarning
# XXX RUSTPYTHON TODO: async generators
# async def _ag():
# yield
# _ag = _ag()
# AsyncGeneratorType = type(_ag)
async def _ag():
yield
_ag = _ag()
AsyncGeneratorType = type(_ag)
class _C:
def _m(self): pass