]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a word in dataclasses docs. (GH-26003) (GH-26004)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 9 May 2021 02:22:48 +0000 (19:22 -0700)
committerGitHub <noreply@github.com>
Sun, 9 May 2021 02:22:48 +0000 (22:22 -0400)
(cherry picked from commit 801497a1152504f3181b495c0271bb9ff99df3d1)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Doc/library/dataclasses.rst

index f06763f94fd3967ac21553ac4df6765c84a156a4..bfba15e96dce28fcf01eaa8a6b51d6d42b63c46d 100644 (file)
@@ -308,7 +308,7 @@ Module contents
 
      - ``default``, ``default_factory``, ``init``, ``repr``, ``hash``,
        ``compare``, ``metadata``, and ``kw_only`` have the identical
-       meaning and values as they do in the :func:`field` declaration.
+       meaning and values as they do in the :func:`field` function.
 
    Other attributes may exist, but they are private and must not be
    inspected or relied on.