[Python-checkins] [3.11] gh-101880: add link to object.__hash__() in hash() builtin documentation (GH-101883) (#106547)

kumaraditya303 webhook-mailer at python.org
Sat Jul 8 04:53:04 EDT 2023


https://github.com/python/cpython/commit/44c335e47d63510912638bd8b74afd8abb9ddcde
commit: 44c335e47d63510912638bd8b74afd8abb9ddcde
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: kumaraditya303 <kumaraditya at python.org>
date: 2023-07-08T14:23:00+05:30
summary:

[3.11] gh-101880: add link to object.__hash__() in hash() builtin documentation (GH-101883) (#106547)

gh-101880: add link to object.__hash__() in hash() builtin documentation (GH-101883)
(cherry picked from commit ec7180bd1b3c156d4484e8e6babc5ecb707420e3)

Co-authored-by: Owain Davies <116417456+OTheDev at users.noreply.github.com>

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 2a0e456d869f0..3d7e6603a7f35 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -793,7 +793,7 @@ are always available.  They are listed here in alphabetical order.
 
       For objects with custom :meth:`__hash__` methods, note that :func:`hash`
       truncates the return value based on the bit width of the host machine.
-      See :meth:`__hash__` for details.
+      See :meth:`__hash__ <object.__hash__>` for details.
 
 .. function:: help()
               help(request)



More information about the Python-checkins mailing list