[Python-checkins] bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32005)
iritkatriel
webhook-mailer at python.org
Sun Mar 20 08:17:34 EDT 2022
https://github.com/python/cpython/commit/87b3e202d46cdeb0a6b1ef041579a5ebc7c826a9
commit: 87b3e202d46cdeb0a6b1ef041579a5ebc7c826a9
branch: 3.10
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:17:19Z
summary:
bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32005)
(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 55ac99c392755..3c32210a6ac7b 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1466,7 +1466,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