From fb3b0310305acdfad7c26705c2ee9a8712a43cf4 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 8 Mar 2021 14:52:43 -0800 Subject: [PATCH] bpo-43415: Fix typo on dataclasses.rst (GH-24789) (GH-24790) (cherry picked from commit 0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c) Co-authored-by: Guilherme Martins Crocetti Co-authored-by: Guilherme Martins Crocetti --- Doc/library/dataclasses.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index e706f7fcc56..133cc0a065c 100644 --- a/Doc/library/dataclasses.rst +++ b/Doc/library/dataclasses.rst @@ -136,7 +136,7 @@ Module-level decorators, classes, and functions attribute ``__hash__ = None`` has a specific meaning to Python, as described in the :meth:`__hash__` documentation. - If :meth:`__hash__` is not explicit defined, or if it is set to ``None``, + If :meth:`__hash__` is not explicitly defined, or if it is set to ``None``, then :func:`dataclass` *may* add an implicit :meth:`__hash__` method. Although not recommended, you can force :func:`dataclass` to create a :meth:`__hash__` method with ``unsafe_hash=True``. This might be the case