Remove extra curly brace from dict display example (#730)
This commit is contained in:
parent
e57063cb6e
commit
801bfd1b0f
|
@ -342,7 +342,7 @@ evaluation order:
|
||||||
|
|
||||||
- In a dict comprehension ``{X: Y for ...}``, ``Y`` is currently
|
- In a dict comprehension ``{X: Y for ...}``, ``Y`` is currently
|
||||||
evaluated before ``X``. We propose to change this so that ``X`` is
|
evaluated before ``X``. We propose to change this so that ``X`` is
|
||||||
evaluated before ``Y``. (In a dict display like ``{X: Y}}`` this is
|
evaluated before ``Y``. (In a dict display like ``{X: Y}`` this is
|
||||||
already the case, and also in ``dict((X, Y) for ...)`` which should
|
already the case, and also in ``dict((X, Y) for ...)`` which should
|
||||||
clearly be equivalent to the dict comprehension.)
|
clearly be equivalent to the dict comprehension.)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue