.. _using-assignment-expression-in-unsupported-version: using-assignment-expression-in-unsupported-version / W2605 ========================================================== **Message emitted:** ``Assignment expression is 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.8 and pylint encounters an assignment expression (walrus) operator.* **Problematic code:** .. literalinclude:: /data/messages/u/using-assignment-expression-in-unsupported-version/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/u/using-assignment-expression-in-unsupported-version/good.py :language: python **Configuration file:** .. literalinclude:: /data/messages/u/using-assignment-expression-in-unsupported-version/pylintrc :language: ini **Additional details:** The assignment expression (walrus) operator (`:=`) was introduced in Python 3.8; to use it, please use a more recent version of Python. Created by the `unsupported_version `__ checker.