]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in the dataclasses's doc (GH-8896) (GH-8897)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 Aug 2018 09:37:19 +0000 (05:37 -0400)
committerEric V. Smith <ericvsmith@users.noreply.github.com>
Fri, 24 Aug 2018 09:37:19 +0000 (05:37 -0400)
(cherry picked from commit 075b3c325913475be16650f7cb2a99f3136623b9)

Co-authored-by: Daniel Dương <dduong42@users.noreply.github.com>
Doc/library/dataclasses.rst

index e9af20a04af167a5d5ebe20b3365cde10d1018d4..2efa2c51a459a38f1a5648754015569b4a2f2fe0 100644 (file)
@@ -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