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

This commit is contained in:
Guilherme Martins Crocetti 2021-03-08 19:50:39 -03:00 committed by GitHub
parent 9f672a52f5
commit 0554044ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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