]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in the dataclasses's doc (GH-8896)
authorDaniel Dương <dduong42@users.noreply.github.com>
Fri, 24 Aug 2018 09:19:24 +0000 (16:19 +0700)
committerEric V. Smith <ericvsmith@users.noreply.github.com>
Fri, 24 Aug 2018 09:19:24 +0000 (05:19 -0400)
Doc/library/dataclasses.rst

index 9e3c792fd106c7db25052bd8db711cd49d6ca5bb..acfd13a712b99b89ee049af0520416393548f96a 100644 (file)
@@ -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