mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Issue #28003: Implement PEP 525 -- Asynchronous Generators.
This commit is contained in:
		
							parent
							
								
									b96ef55d49
								
							
						
					
					
						commit
						eb6364557f
					
				
					 27 changed files with 2189 additions and 96 deletions
				
			
		|  | @ -24,6 +24,11 @@ async def _c(): pass | |||
| CoroutineType = type(_c) | ||||
| _c.close()  # Prevent ResourceWarning | ||||
| 
 | ||||
| async def _ag(): | ||||
|     yield | ||||
| _ag = _ag() | ||||
| AsyncGeneratorType = type(_ag) | ||||
| 
 | ||||
| class _C: | ||||
|     def _m(self): pass | ||||
| MethodType = type(_C()._m) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yury Selivanov
						Yury Selivanov