Remove extra curly brace from dict display example (#730)

This commit is contained in:
Dmitry Alimov 2018-07-11 00:05:30 +03:00 committed by Guido van Rossum
parent e57063cb6e
commit 801bfd1b0f
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ evaluation order:
- In a dict comprehension ``{X: Y for ...}``, ``Y`` is currently
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
clearly be equivalent to the dict comprehension.)