alecxe alecxe - 8 days ago 6
Python Question

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?

Answer

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.

Comments