[New-bugs-announce] [issue33551] The string prefixes u and f can't used together
Aifu LIU
report at bugs.python.org
Thu May 17 02:25:08 EDT 2018
New submission from Aifu LIU <laf163 at gmail.com>:
The string prefixes u and f can't used together, for example:
>>> age = 30
>>> s = uf'年龄:{age}'
File "<stdin>", line 1
s = uf'年龄:{age}'
^
SyntaxError: invalid syntax
>>>
----------
components: Unicode
messages: 316883
nosy: Aifu LIU, ezio.melotti, vstinner
priority: normal
severity: normal
status: open
title: The string prefixes u and f can't used together
type: crash
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33551>
_______________________________________
More information about the New-bugs-announce
mailing list