]> granicus.if.org Git - python/commitdiff
Fix typo in dataclasses documentation (GH-8102)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Jul 2018 23:28:18 +0000 (16:28 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Jul 2018 23:28:18 +0000 (16:28 -0700)
(cherry picked from commit e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5)

Co-authored-by: Artjom <tjomk@users.noreply.github.com>
Lib/dataclasses.py

index ad7bf0f7593a13d2c6f35280f826e6040881f9bf..e00a125bbd87111052eef43ea8fc1befe12cb4ae 100644 (file)
@@ -257,7 +257,7 @@ class Field:
 
     # This is used to support the PEP 487 __set_name__ protocol in the
     # case where we're using a field that contains a descriptor as a
-    # defaul value.  For details on __set_name__, see
+    # default value.  For details on __set_name__, see
     # https://www.python.org/dev/peps/pep-0487/#implementation-details.
     #
     # Note that in _process_class, this Field object is overwritten