Fixed escape sequence.

This commit is contained in:
Eric V. Smith 2015-08-28 14:59:05 -04:00
parent 35c0d9cc75
commit 5d0b58c678
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ Escape sequences
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 the integer
f'\\u007b4*10}' is decoded to f'{4*10}', which evaluates as the integer
40::
>>> f'\u007b4*10}'