[Python-checkins] Fix a word in dataclasses docs. (GH-26003) (GH-26004)

ericvsmith webhook-mailer at python.org
Sat May 8 22:22:58 EDT 2021


https://github.com/python/cpython/commit/70ff820046e62fca3bcb165f533b50d65e054153
commit: 70ff820046e62fca3bcb165f533b50d65e054153
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ericvsmith <ericvsmith at users.noreply.github.com>
date: 2021-05-08T22:22:48-04:00
summary:

Fix a word in dataclasses docs. (GH-26003) (GH-26004)

(cherry picked from commit 801497a1152504f3181b495c0271bb9ff99df3d1)

Co-authored-by: Eric V. Smith <ericvsmith at users.noreply.github.com>

Co-authored-by: Eric V. Smith <ericvsmith at users.noreply.github.com>

files:
M Doc/library/dataclasses.rst

diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index f06763f94fd396..bfba15e96dce28 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -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.



More information about the Python-checkins mailing list