summaryrefslogtreecommitdiffstats
path: root/Lib/dataclasses.py
diff options
context:
space:
mode:
authorArtjom <tjomk@users.noreply.github.com>2018-07-05 23:09:13 (GMT)
committerEric V. Smith <ericvsmith@users.noreply.github.com>2018-07-05 23:09:13 (GMT)
commite55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5 (patch)
tree6caff3bf100acdeab422673957137fc72e887d33 /Lib/dataclasses.py
parent483422f57e5d8c8bf8820fec29fc9b96bb15d4ef (diff)
downloadcpython-e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5.zip
cpython-e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5.tar.gz
cpython-e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5.tar.bz2
Fix typo in dataclasses documentation (GH-8102)
Diffstat (limited to 'Lib/dataclasses.py')
-rw-r--r--Lib/dataclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py
index ad7bf0f..e00a125 100644
--- a/Lib/dataclasses.py
+++ b/Lib/dataclasses.py
@@ -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