Skip to content

Commit 49ad5fa

Browse files
committed
Rename a few sections.
1 parent f514eaf commit 49ad5fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

peps/pep-9999.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ The ``yield_expr`` and ``simple_stmt`` rules need to be updated for the new
155155
| &('yield' | 'async') yield_stmt
156156
157157
158-
``yield from`` semantics
159-
------------------------
158+
``yield from`` behavior in asynchronous generators
159+
--------------------------------------------------
160160

161161
This PEP retains all existing ``yield from`` semantics; the only detail is
162162
that asynchronous generators may now use it.
@@ -181,7 +181,7 @@ In the above code, ``main`` will yield ``1``, ``2``, ``3``, ``4``.
181181
All subgenerator delegation semantics are retained.
182182

183183

184-
``async yield from`` base semantics
184+
``async yield from`` as a statement
185185
-----------------------------------
186186

187187
``async yield from`` is equivalent to ``yield from``, with the exception that:

0 commit comments

Comments
 (0)