From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 7 Oct 2025 18:19:50 +0000 (+0200) Subject: [3.14] Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601) (GH... X-Git-Tag: v3.14.1~508 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a880241c6b863f887cbc0a7ad820398fb006b08;p=thirdparty%2FPython%2Fcpython.git [3.14] Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601) (GH-139616) (cherry picked from commit dadbb2662a405a34763db0298025f6af06342849) Co-authored-by: George Ogden <38294960+George-Ogden@users.noreply.github.com> --- diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst index ec8b575a1ba9..fcd240e7e828 100644 --- a/Doc/library/difflib.rst +++ b/Doc/library/difflib.rst @@ -231,7 +231,7 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module. *linejunk*: A function that accepts a single string argument, and returns true if the string is junk, or false if not. The default is ``None``. There is also a module-level function :func:`IS_LINE_JUNK`, which filters out lines - without visible characters, except for at most one pound character (``'#'``) + without visible characters, except for at most one hash character (``'#'``) -- however the underlying :class:`SequenceMatcher` class does a dynamic analysis of which lines are so frequent as to constitute noise, and this usually works better than using this function.