]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
dataclasses docs: add a missing word. (GH-25839)
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Mon, 3 May 2021 06:33:34 +0000 (02:33 -0400)
committerGitHub <noreply@github.com>
Mon, 3 May 2021 06:33:34 +0000 (02:33 -0400)
Doc/library/dataclasses.rst

index 357ea9820fe648dce05efd9e32164c199aac844b..64540b3e963b5265f5be304246dd2fe644eabdc1 100644 (file)
@@ -439,7 +439,7 @@ Module contents
 
 .. data:: KW_ONLY
 
-   A sentinel value used a type annotation.  Any fields after a
+   A sentinel value used as a type annotation.  Any fields after a
    pseudo-field with the type of :const:`KW_ONLY` are marked as
    keyword-only fields.  Note that a pseudo-field of type
    :const:`KW_ONLY` is otherwise completely ignored.  This includes the