[Python-checkins] Fix typo in the dataclasses's doc (GH-8896)

Eric V. Smith webhook-mailer at python.org
Fri Aug 24 05:19:34 EDT 2018


https://github.com/python/cpython/commit/075b3c325913475be16650f7cb2a99f3136623b9
commit: 075b3c325913475be16650f7cb2a99f3136623b9
branch: master
author: Daniel Dương <dduong42 at users.noreply.github.com>
committer: Eric V. Smith <ericvsmith at users.noreply.github.com>
date: 2018-08-24T05:19:24-04:00
summary:

Fix typo in the dataclasses's doc (GH-8896)

files:
M Doc/library/dataclasses.rst

diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 9e3c792fd106..acfd13a712b9 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -447,7 +447,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