PEP 572: Fix wording (thanks Ethan)

This commit is contained in:
Chris Angelico 2018-04-11 16:21:15 +10:00
parent 1a7c830cdb
commit 356c97ef43
1 changed files with 2 additions and 2 deletions

View File

@ -378,8 +378,8 @@ Migration path
The semantic changes to list/set/dict comprehensions, and more so to generator The semantic changes to list/set/dict comprehensions, and more so to generator
expressions, may potentially require migration of code. In many cases, the expressions, may potentially require migration of code. In many cases, the
changes simply make legal what used to raise an exception, but there are some changes simply make legal what used to raise an exception, but there are some
edge cases that were previously legal and are not, and a few corner cases with edge cases that were previously legal and now are not, and a few corner cases
altered semantics. with altered semantics.
Yield inside comprehensions Yield inside comprehensions