]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43415: Fix typo on dataclasses.rst (#24789)
authorGuilherme Martins Crocetti <gmcrocetti@gmail.com>
Mon, 8 Mar 2021 22:50:39 +0000 (19:50 -0300)
committerGitHub <noreply@github.com>
Mon, 8 Mar 2021 22:50:39 +0000 (17:50 -0500)
Doc/library/dataclasses.rst

index e706f7fcc566d8959d1e7a553113dab3c46f1067..133cc0a065caced38e44ca091b62e8775a23a32d 100644 (file)
@@ -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