Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

enter image description here

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

like image 791
alecxe Avatar asked Jul 06 '16 01:07

alecxe


1 Answers

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

  • PY-18972 implement support for PEP 498 (f-strings)

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

like image 148
alecxe Avatar answered Oct 21 '22 11:10

alecxe