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

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


https://github.com/python/cpython/commit/48f58e02430f046d4b039cefce3856b934b02627
commit: 48f58e02430f046d4b039cefce3856b934b02627
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: kumaraditya303 <kumaraditya at python.org>
date: 2023-07-08T14:22:50+05:30
summary:

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

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 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