Skip to content

Commit 346dd13

Browse files
committed
Update ambiguous difflib documentation
1 parent 29616f3 commit 346dd13

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Doc/library/difflib.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,13 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
229229
(or ``None``):
230230

231231
*linejunk*: A function that accepts a single string argument, and returns
232-
true if the string is junk, or false if not. The default is ``None``. There
233-
is also a module-level function :func:`IS_LINE_JUNK`, which filters out lines
234-
without visible characters, except for at most one pound character (``'#'``)
235-
-- however the underlying :class:`SequenceMatcher` class does a dynamic
236-
analysis of which lines are so frequent as to constitute noise, and this
237-
usually works better than using this function.
232+
true if the string is junk, or false if not. The default is ``None``. There
233+
is also a module-level function :func:`IS_LINE_JUNK`, which filters out
234+
lines without visible characters, or containing one occurrence of the
235+
pound, or hash symbol (``'#'``) -- however the underlying
236+
:class:`SequenceMatcher` class does a dynamic analysis of which lines are
237+
so frequent as to constitute noise, and this usually works better than
238+
using this function.
238239

239240
*charjunk*: A function that accepts a character (a string of length 1), and
240241
returns if the character is junk, or false if not. The default is module-level

0 commit comments

Comments
 (0)