Skip to content

Files

Latest commit

 

History

History
27 lines (17 loc) · 538 Bytes

File metadata and controls

27 lines (17 loc) · 538 Bytes

Pattern: Over-indented continuation line for visual indent

Issue: -

Description

A continuation line is indented farther than it should be for a visual indent.

Example of incorrect code:

In this example, the string "World" is indented two spaces farther than it should be.

print("Python", ("Hello",
                   "World"))

Example of correct code:

print("Python", ("Hello",
                 "World"))

Further Reading