File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -758,8 +758,8 @@ a `poll in the Discourse thread
758758Beyond the proposal outlined above, the following were also considered:
759759
7607601. 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:
7897894. 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
795795Each of these options (including the one presented in this PEP) has its
796796benefits and drawbacks, with no option being clearly superior on all fronts.
You can’t perform that action at this time.
0 commit comments