C0321

Message

More than one statement on a single line

Description

Used when more than one statement is found on the same line.

This message belongs to the format checker.

Explanation

Python syntax does permit more than one statement on a line, separated by semicolon (;). However, limiting each line to one statement makes it easier for a human to follow a program's logic when reading through it.


Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License