8000 Fix format of dataclasses' `unsafe_hash` default value · python/cpython@b69e1c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit b69e1c2

Browse files
committed
Fix format of dataclasses' unsafe_hash default value
1 parent c3677be commit b69e1c2

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:`!__le__`, :meth:`!__gt__`, or :meth:`!__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:`!__hash__` is used by built-in :meth:`hash()`, and when objects are

0 commit comments

Comments
 (0)
0