From: Daniel Dương Date: Fri, 24 Aug 2018 09:19:24 +0000 (+0700) Subject: Fix typo in the dataclasses's doc (GH-8896) X-Git-Tag: v3.8.0a1~1170 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=075b3c325913475be16650f7cb2a99f3136623b9;p=thirdparty%2FPython%2Fcpython.git Fix typo in the dataclasses's doc (GH-8896) --- 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