summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-07-05 23:28:18 (GMT)
committerGitHub <noreply@github.com>2018-07-05 23:28:18 (GMT)
commit3a7ee2817cf3e3a8330e8cedda3a0502fd31248b (patch)
treec76b231fd8288d48049da2e6367d063fdfe25b2b
parent29be3bd3c9aed0190e60096a603120cacda82375 (diff)
downloadcpython-3a7ee2817cf3e3a8330e8cedda3a0502fd31248b.zip
cpython-3a7ee2817cf3e3a8330e8cedda3a0502fd31248b.tar.gz
cpython-3a7ee2817cf3e3a8330e8cedda3a0502fd31248b.tar.bz2
Fix typo in dataclasses documentation (GH-8102)
(cherry picked from commit e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5) Co-authored-by: Artjom <tjomk@users.noreply.github.com>
-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