Skip to content

Commit b8bb6ec

Browse files
committed
slight wording change in 'How to Teach This'
1 parent 9d28d79 commit b8bb6ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

peps/pep-0798.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,9 +587,8 @@ multiple elements to that collection.
587587

588588
Alternatively, we don't need to think of the two ideas as separate; instead,
589589
with the new syntax, we can think of ``out = [...x... for x in it]`` as
590-
equivalent to the following code [#pep798-guido]_ (where ``...x...`` is a
591-
stand-in for an arbitrary expression), regardless of whether or not ``...x...``
592-
uses ``*``::
590+
equivalent to the following [#pep798-guido]_ (where ``...x...`` is a stand-in
591+
for arbitrary code), regardless of whether or not ``...x...`` uses ``*``::
593592

594593
out = []
595594
for x in it:

0 commit comments

Comments
 (0)