【问题标题】:PyCharm and f-stringsPyCharm 和 f 字符串
【发布时间】:2016-07-06 01:10:08
【问题描述】:

我正在使用最新的稳定 PyCharm 2016.1.4 和 Python 3.6a1。每当我使用“f-strings”(PEP-498) 时,PyCharm 都会抱怨 f 是一个未解决的参考:

PyCharm 还不支持文字字符串插值吗?或者,我应该单独启用或配置它吗?

【问题讨论】:

    标签: python python-3.x pycharm string-formatting python-3.6


    【解决方案1】:

    在PyCharm 2016.3 中现在支持文字字符串插值,相关功能请求:

    注意稳定版3.6 is scheduled to be released in December。

    【讨论】:

      猜你喜欢
      • 2020-02-06
      • 1970-01-01
      • 1970-01-01
      • 2017-11-29
      • 1970-01-01
      • 2017-11-30
      • 2020-06-15
      • 2020-02-28
      • 1970-01-01
      相关资源
      最近更新 更多