Skip to content

Commit 801497a

Browse files
authored
Fix a word in dataclasses docs. (GH-26003)
1 parent 3d98ece commit 801497a

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
@@ -308,7 +308,7 @@ Module contents
308308

309309
- ``default``, ``default_factory``, ``init``, ``repr``, ``hash``,
310310
``compare``, ``metadata``, and ``kw_only`` have the identical
311-
meaning and values as they do in the :func:`field` declaration.
311+
meaning and values as they do in the :func:`field` function.
312312

313313
Other attributes may exist, but they are private and must not be
314314
inspected or relied on.

0 commit comments

Comments
 (0)