File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ coroutine function to be an asynchronous generator. For example::
384384 def gen(): # defines a generator function
385385 yield 123
386386
387- async def agen(): # defines an asynchronous generator function (PEP 525)
387+ async def agen(): # defines an asynchronous generator function
388388 yield 123
389389
390390Generator functions are described below, while asynchronous generator
@@ -459,6 +459,10 @@ on the right hand side of an assignment statement.
459459 The proposal to introduce the :token: `yield_from ` syntax, making delegation
460460 to sub-generators easy.
461461
462+ :pep: `525 ` - Asynchronous Generators
463+ The proposal that expanded on :pep: `492 ` by adding generator capabilities to
464+ coroutine functions.
465+
462466.. index :: object: generator
463467.. _generator-methods :
464468
You can’t perform that action at this time.
0 commit comments