Skip to content

Commit 13c2533

Browse files
committed
Change 'pound symbol' to 'hash symbol'
1 parent 6ab344a commit 13c2533

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Doc/library/difflib.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,12 @@ 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
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.
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 hash 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.
239238

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

0 commit comments

Comments
 (0)