[Python-checkins] peps: Fix typo introduced when switching to backquotes.

eric.smith python-checkins at python.org
Fri Sep 4 11:34:18 CEST 2015


https://hg.python.org/peps/rev/b133c85ae481
changeset:   6027:b133c85ae481
user:        Eric V. Smith <eric at trueblade.com>
date:        Fri Sep 04 05:34:35 2015 -0400
summary:
  Fix typo introduced when switching to backquotes.

files:
  pep-0498.txt |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pep-0498.txt b/pep-0498.txt
--- a/pep-0498.txt
+++ b/pep-0498.txt
@@ -214,7 +214,7 @@
 
 Scanning an f-string for expressions happens after escape sequences
 are decoded. Because ``hex(ord('{')) == 0x7b``, the f-string
-``f'\\u007b4*10}'`` is decoded to ``f'{4*10}'``, which evaluates as
+``f'\u007b4*10}'`` is decoded to ``f'{4*10}'``, which evaluates as
 the integer 40::
 
   >>> f'\u007b4*10}'

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list