.. _using-f-string-in-unsupported-version: using-f-string-in-unsupported-version / W2601 ============================================= **Message emitted:** ``F-strings are not supported by all versions included in the py-version setting`` **Description:** *Used when the py-version set by the user is lower than 3.6 and pylint encounters an f-string.* **Problematic code:** .. literalinclude:: /data/messages/u/using-f-string-in-unsupported-version/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/u/using-f-string-in-unsupported-version/good.py :language: python **Configuration file:** .. literalinclude:: /data/messages/u/using-f-string-in-unsupported-version/pylintrc :language: ini **Additional details:** f-strings were introduced in Python version 3.6; to use them, please use a more recent version of Python. Created by the `unsupported_version `__ checker.