summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-09 02:22:48 (GMT)
committerGitHub <noreply@github.com>2021-05-09 02:22:48 (GMT)
commit70ff820046e62fca3bcb165f533b50d65e054153 (patch)
tree425e0a35f7a5e8aa10e735d3ae82d50fbd898aa7
parent03acfc50ac0be8b49847b94dee93e21b1efa0e76 (diff)
downloadcpython-70ff820046e62fca3bcb165f533b50d65e054153.zip
cpython-70ff820046e62fca3bcb165f533b50d65e054153.tar.gz
cpython-70ff820046e62fca3bcb165f533b50d65e054153.tar.bz2
Fix a word in dataclasses docs. (GH-26003) (GH-26004)
(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>
-rw-r--r--Doc/library/dataclasses.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index f06763f..bfba15e 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.