ID EN
Diff Tools

IS_CHARACTER_JUNK

Python 3.11

Return True for ignorable characters. The character ch is ignorable if ch is a space or tab, otherwise it is not ignorable. Used as a default for parameter charjunk in ndiff().

Syntax

PYTHON
difflib.IS_CHARACTER_JUNK(ch)

See Also

ndiff()