Skip to content

Commit 3832e8c

Browse files
committed
another couple of small wording tweaks
1 parent b6266fb commit 3832e8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

peps/pep-0798.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,8 @@ a `poll in the Discourse thread
758758
Beyond the proposal outlined above, the following were also considered:
759759

760760
1. Using ``yield from`` for unpacking in synchronous generator expressions but
761-
not in asynchronous generator expressions (as proposed in the original draft
762-
of this PEP).
761+
using an explicit loop in asynchronous generator expressions (as proposed in
762+
the original draft of this PEP).
763763

764764
This strategy would have allowed unpacking in generator expressions to
765765
closely mimic a popular way of writing generators that perform this
@@ -789,8 +789,8 @@ Beyond the proposal outlined above, the following were also considered:
789789
4. Disallowing unpacking in all generator expressions.
790790

791791
This would retain symmetry between the two cases, but with the downside of
792-
losing an expressive form and symmetry between list/set comprehensions and
793-
generator expressions.
792+
losing an expressive form and reducing symmetry between list/set
793+
comprehensions and generator expressions.
794794

795795
Each of these options (including the one presented in this PEP) has its
796796
benefits and drawbacks, with no option being clearly superior on all fronts.

0 commit comments

Comments
 (0)