[Python-checkins] peps: Fixed awkward wording.
eric.smith
python-checkins at python.org
Fri Aug 28 20:27:52 CEST 2015
https://hg.python.org/peps/rev/a941c4b200d5
changeset: 6004:a941c4b200d5
user: Eric V. Smith <eric at trueblade.com>
date: Fri Aug 28 14:27:58 2015 -0400
summary:
Fixed awkward wording.
files:
pep-0498.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pep-0498.txt b/pep-0498.txt
--- a/pep-0498.txt
+++ b/pep-0498.txt
@@ -212,9 +212,9 @@
----------------
Scanning an f-string for expressions happens after escape sequences
-are decode. Because hex(ord('{')) == 0x7b, that means that the
-f-string f'\u007b4*10}' is decoded to f'{4*10}', which evaluates as
-the integer 40::
+are decoded. Because hex(ord('{')) == 0x7b, the f-string
+f'\u007b4*10}' is decoded to f'{4*10}', which evaluates as the integer
+40::
>>> f'\u007b4*10}'
'40'
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list