]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101880: add link to object.__hash__() in hash() builtin documentation (#101883)
authorOwain Davies <116417456+OTheDev@users.noreply.github.com>
Sat, 8 Jul 2023 08:48:33 +0000 (15:48 +0700)
committerGitHub <noreply@github.com>
Sat, 8 Jul 2023 08:48:33 +0000 (08:48 +0000)
Doc/library/functions.rst

index 9b9731e91898539384ab940785f7b6d49e30f365..d8091f0b093aab36c0b286d5ebeeafe9de377f24 100644 (file)
@@ -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)