Back to Intellij Community

PyUnnecessaryBackslashInspection

python/python-psi-impl/resources/inspectionDescriptions/PyUnnecessaryBackslashInspection.html

2025.3-rc-2225 B
Original Source

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.