]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32006)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 20 Mar 2022 12:18:02 +0000 (05:18 -0700)
committerGitHub <noreply@github.com>
Sun, 20 Mar 2022 12:18:02 +0000 (12:18 +0000)
(cherry picked from commit 3af68fc77c528d4e7749046cf6e41fd79902e6e6)

Co-authored-by: jmcb <joel.mcbride1@live.com>
Co-authored-by: jmcb <joel.mcbride1@live.com>
Doc/reference/datamodel.rst

index f4320db60c92ad70d7ca557a106712656b3302b7..84320f41f6caebf0b1495e532506fff23a400ce2 100644 (file)
@@ -1435,7 +1435,7 @@ Basic customization
 
    Called by built-in function :func:`hash` and for operations on members of
    hashed collections including :class:`set`, :class:`frozenset`, and
-   :class:`dict`.  :meth:`__hash__` should return an integer. The only required
+   :class:`dict`.  The ``__hash__()`` method should return an integer. The only required
    property is that objects which compare equal have the same hash value; it is
    advised to mix together the hash values of the components of the object that
    also play a part in comparison of objects by packing them into a tuple and