Skip to content

Files

Latest commit

 

History

History
24 lines (15 loc) · 506 Bytes

File metadata and controls

24 lines (15 loc) · 506 Bytes

Pattern: Use of multiple statements on one line (;)

Issue: -

Description

Multiple statements should not be on the same line separated by a semicolon. They should be on their own separate lines. This improves readability.

Example of incorrect code:

from gevent import monkey; monkey.patch_all()

Example of correct code:

from gevent import monkey
monkey.patch_all()

Further Reading