PEP 557: Fix typo (#832)

This commit is contained in:
M Somerville 2018-11-05 20:11:07 +00:00 committed by Brett Cannon
parent 8be46e7768
commit 8739c9efb4
1 changed files with 3 additions and 3 deletions

View File

@ -236,7 +236,7 @@ The parameters to ``dataclass`` are:
mutated. This is a specialized use case and should be considered
carefully.
If a class already has an explicitely defined ``__hash__`` the
If a class already has an explicitly defined ``__hash__`` the
behavior when adding ``__hash__`` is modified. An expicitely
defined ``__hash__`` is defined when:
@ -249,10 +249,10 @@ The parameters to ``dataclass`` are:
- ``__eq__`` is not defined on the class, and any ``__hash__`` is
defined.
If ``unsafe_hash`` is true and an explicitely defined ``__hash__``
If ``unsafe_hash`` is true and an explicitly defined ``__hash__``
is present, then ``ValueError`` is raised.
If ``unsafe_hash`` is false and an explicitely defined ``__hash__``
If ``unsafe_hash`` is false and an explicitly defined ``__hash__``
is present, then no ``__hash__`` is added.
See the Python documentation [#]_ for more information.