ID EN
Diff Tools

IS_LINE_JUNK

Python 3.11

Return True for ignorable lines. The line line is ignorable if line is blank or contains a single '', otherwise it is not ignorable. Used as a default for parameter linejunk in ndiff() in older versions.

Syntax

PYTHON
difflib.IS_LINE_JUNK(line)

See Also

ndiff()