[Python-checkins] bpo-43415: Fix typo on dataclasses.rst (#24789)

ericvsmith webhook-mailer at python.org
Mon Mar 8 17:51:00 EST 2021


https://github.com/python/cpython/commit/0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c
commit: 0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c
branch: master
author: Guilherme Martins Crocetti <gmcrocetti at gmail.com>
committer: ericvsmith <ericvsmith at users.noreply.github.com>
date: 2021-03-08T17:50:39-05:00
summary:

bpo-43415: Fix typo on dataclasses.rst (#24789)

files:
M Doc/library/dataclasses.rst

diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index e706f7fcc566d..133cc0a065cac 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



More information about the Python-checkins mailing list