From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 24 Aug 2018 09:37:19 +0000 (-0400) Subject: Fix typo in the dataclasses's doc (GH-8896) (GH-8897) X-Git-Tag: v3.7.1rc1~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8c749df59a088300b9b4cfde41423c020b78651;p=thirdparty%2FPython%2Fcpython.git Fix typo in the dataclasses's doc (GH-8896) (GH-8897) (cherry picked from commit 075b3c325913475be16650f7cb2a99f3136623b9) Co-authored-by: Daniel Dương --- 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