简体   繁体   中英

PyCharm and f-strings

I am using the latest stable PyCharm 2016.1.4 and Python 3.6a1. Whenever I use the "f-strings" ( PEP-498 ) PyCharm is complaining about f being an unresolved reference :

在此处输入图片说明

Is the literal string interpolation not supported by PyCharm yet? Or, should I have enabled or configured it separately?

The Literal String Interpolation is now supported in PyCharm 2016.3 , the relevant feature request:

Note that the stable 3.6 is scheduled to be released in December .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM