.. _multiple-statements:

multiple-statements / C0321
===========================

**Message emitted:**

More than one statement on a single line

**Description:**

*Used when more than on statement are found on the same line.*

**Problematic code:**

.. literalinclude:: /data/messages/m/multiple-statements/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/m/multiple-statements/good.py
   :language: python



Created by the `format <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/format.py>`__ checker.