]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a word in dataclasses docs. (GH-26003)
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Sun, 9 May 2021 02:20:04 +0000 (22:20 -0400)
committerGitHub <noreply@github.com>
Sun, 9 May 2021 02:20:04 +0000 (22:20 -0400)
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.