diff --git a/pep-0498.txt b/pep-0498.txt index 3adac9d6b..79d482946 100644 --- a/pep-0498.txt +++ b/pep-0498.txt @@ -212,9 +212,9 @@ Escape sequences ---------------- 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'