diff options
author | Guilherme Martins Crocetti <gmcrocetti@gmail.com> | 2021-03-08 22:50:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 22:50:39 (GMT) |
commit | 0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c (patch) | |
tree | fb5fd3be62dca57d48d9baa99a8f33fae7de2e5c | |
parent | 9f672a52f55ce198d5689b5771948350028b4a3b (diff) | |
download | cpython-0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c.zip cpython-0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c.tar.gz cpython-0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c.tar.bz2 |
bpo-43415: Fix typo on dataclasses.rst (#24789)
-rw-r--r-- | Doc/library/dataclasses.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index e706f7f..133cc0a 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 |