.. _unnecessary-semicolon: unnecessary-semicolon / W0301 ============================= **Message emitted:** ``Unnecessary semicolon`` **Description:** *Used when a statement is ended by a semi-colon (";"), which isn't necessary (that's python, not C ;).* **Problematic code:** .. literalinclude:: /data/messages/u/unnecessary-semicolon/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/u/unnecessary-semicolon/good.py :language: python Created by the `format `__ checker.