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 64e89d3 commit 9413a3aCopy full SHA for 9413a3a
peps/pep-0798.rst
@@ -217,7 +217,9 @@ generator::
217
for x in it:
218
yield from expr
219
220
-Since ``yield from`` is not allowed inside of async generators, the equivalent
+Since ``yield from`` is not allowed inside of async generators (see the section
221
+of :pep:`525` on `Asynchronous yield from
222
+<https://peps.python.org/pep-0525/#asynchronous-yield-from>`__), the equivalent
223
for ``(*expr async for x in ait())``, is more like the following (though of
224
course this new form should not define or reference the looping variable
225
``i``)::
0 commit comments