PEP 572: Fix wording (thanks Ethan)
This commit is contained in:
parent
1a7c830cdb
commit
356c97ef43
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue