[Python-checkins] Fix typo in the dataclasses's doc (GH-8896) (GH-8897)
Eric V. Smith
webhook-mailer at python.org
Fri Aug 24 05:37:26 EDT 2018
https://github.com/python/cpython/commit/a8c749df59a088300b9b4cfde41423c020b78651
commit: a8c749df59a088300b9b4cfde41423c020b78651
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Eric V. Smith <ericvsmith at users.noreply.github.com>
date: 2018-08-24T05:37:19-04:00
summary:
Fix typo in the dataclasses's doc (GH-8896) (GH-8897)
(cherry picked from commit 075b3c325913475be16650f7cb2a99f3136623b9)
Co-authored-by: Daniel Dương <dduong42 at users.noreply.github.com>
files:
M Doc/library/dataclasses.rst
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index e9af20a04af1..2efa2c51a459 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -448,7 +448,7 @@ parameters to the generated :meth:`__init__` method, and are passed to
the optional :meth:`__post_init__` method. They are not otherwise used
by dataclasses.
-For example, suppose a field will be initialzed from a database, if a
+For example, suppose a field will be initialized from a database, if a
value is not provided when creating the class::
@dataclass
More information about the Python-checkins
mailing list