Skip to content

Commit 19cba73

Browse files
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 8ba71e3 commit 19cba73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

peps/pep-0828.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Implementation complexity has gone down
7777
Historically, ``yield from`` was not added to asynchronous generators due to
7878
concerns about the complexity of the implementation. To quote :pep:`525`:
7979

80-
While it is theoretically possible to implement yield from support for
80+
While it is theoretically possible to implement ``yield from`` support for
8181
asynchronous generators, it would require a serious redesign of the
8282
generators implementation.
8383

@@ -105,7 +105,7 @@ in asynchronous generators:
105105
3. https://discuss.python.org/t/66886
106106

107107
Additionally, this design decision has `come up
108-
<https://stackoverflow.com/questions/47376408>`__ on StackOverflow.
108+
<https://stackoverflow.com/questions/47376408>`__ on Stack Overflow.
109109

110110

111111
Subgenerator delegation is useful for asynchronous generators
@@ -146,7 +146,7 @@ Grammar changes
146146
The ``yield_expr`` and ``simple_stmt`` rules need to be updated for the new
147147
``async yield from`` syntax:
148148

149-
.. code-block::
149+
.. code-block:: peg
150150
151151
yield_expr[expr_ty]:
152152
| 'async' 'yield' 'from' a=expression

0 commit comments

Comments
 (0)