.. _condition-evals-to-constant: condition-evals-to-constant / R1727 =================================== **Message emitted:** ``Boolean condition '%s' will always evaluate to '%s'`` **Description:** *Emitted when a boolean condition can be simplified to a constant value.* **Problematic code:** .. literalinclude:: /data/messages/c/condition-evals-to-constant/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/c/condition-evals-to-constant/good.py :language: python Created by the `refactoring `__ checker.