]> granicus.if.org Git - python/commitdiff
Fix typo in dataclasses documentation (GH-8102)
authorArtjom <tjomk@users.noreply.github.com>
Thu, 5 Jul 2018 23:09:13 +0000 (02:09 +0300)
committerEric V. Smith <ericvsmith@users.noreply.github.com>
Thu, 5 Jul 2018 23:09:13 +0000 (19:09 -0400)
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