Skip to content

Commit 65d3ebf

Browse files
authored
Fix format of dataclasses' unsafe_hash default value
1 parent c951e25 commit 65d3ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/dataclasses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Module contents
121121
:meth:`~object.__le__`, :meth:`~object.__gt__`, or :meth:`~object.__ge__`, then
122122
:exc:`TypeError` is raised.
123123

124-
- ``unsafe_hash``: If ``False`` (the default), a :meth:`~object.__hash__` method
124+
- ``unsafe_hash``: If false (the default), a :meth:`~object.__hash__` method
125125
is generated according to how ``eq`` and ``frozen`` are set.
126126

127127
:meth:`~object.__hash__` is used by built-in :meth:`hash()`, and when objects are

0 commit comments

Comments
 (0)