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

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


https://github.com/python/cpython/commit/ec7180bd1b3c156d4484e8e6babc5ecb707420e3
commit: ec7180bd1b3c156d4484e8e6babc5ecb707420e3
branch: main
author: Owain Davies <116417456+OTheDev at users.noreply.github.com>
committer: kumaraditya303 <kumaraditya at python.org>
date: 2023-07-08T08:48:33Z
summary:

gh-101880: add link to object.__hash__() in hash() builtin documentation (#101883)

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 9b9731e918985..d8091f0b093aa 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -794,7 +794,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