[Python-checkins] dataclasses docs: add a missing word. (GH-25839)
ericvsmith
webhook-mailer at python.org
Mon May 3 02:33:43 EDT 2021
https://github.com/python/cpython/commit/72720a2639368436da0981983549d000170623cc
commit: 72720a2639368436da0981983549d000170623cc
branch: master
author: Eric V. Smith <ericvsmith at users.noreply.github.com>
committer: ericvsmith <ericvsmith at users.noreply.github.com>
date: 2021-05-03T02:33:34-04:00
summary:
dataclasses docs: add a missing word. (GH-25839)
files:
M Doc/library/dataclasses.rst
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 357ea9820fe64..64540b3e963b5 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -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
More information about the Python-checkins
mailing list