]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-101880: add link to object.__hash__() in hash() builtin documentation ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Jul 2023 08:53:00 +0000 (01:53 -0700)
committerGitHub <noreply@github.com>
Sat, 8 Jul 2023 08:53:00 +0000 (14:23 +0530)
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@users.noreply.github.com>
Doc/library/functions.rst

index 2a0e456d869f073a7461b348acd10fef2b5d6131..3d7e6603a7f35c828dab19f0e4e418e22a6c651a 100644 (file)
@@ -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)