From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 5 Oct 2025 17:18:11 +0000 (+0200) Subject: [3.13] Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601) (#139617) X-Git-Tag: v3.13.8~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89a1efc23f249b6096e14e918b514d2aa7047bc5;p=thirdparty%2FPython%2Fcpython.git [3.13] Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601) (#139617) Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601) (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.