[Python-checkins] bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32006)

iritkatriel webhook-mailer at python.org
Sun Mar 20 08:18:06 EDT 2022


https://github.com/python/cpython/commit/504973a13336d8a4d20459f68de9647a1fb25966
commit: 504973a13336d8a4d20459f68de9647a1fb25966
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2022-03-20T12:18:02Z
summary:

bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32006)

(cherry picked from commit 3af68fc77c528d4e7749046cf6e41fd79902e6e6)

Co-authored-by: jmcb <joel.mcbride1 at live.com>

Co-authored-by: jmcb <joel.mcbride1 at live.com>

files:
M Doc/reference/datamodel.rst

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index f4320db60c92a..84320f41f6cae 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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



More information about the Python-checkins mailing list