Inspectopedia Help

Unnecessary backslash

Reports backslashes in places where line continuation is implicit inside (), [], and {}.

Example:

a = ('first', \ 'second', 'third')

When the quick-fix is applied, the redundant backslash is deleted.

Inspection Details

Available in:

DataSpell 2023.3, PyCharm 2023.3

Plugin:

Python Community Edition, 233.SNAPSHOT

Last modified: 13 July 2023