[Python-checkins] Fix typo in dataclasses documentation (GH-8102)
Eric V. Smith
webhook-mailer at python.org
Thu Jul 5 19:09:16 EDT 2018
https://github.com/python/cpython/commit/e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5
commit: e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5
branch: master
author: Artjom <tjomk at users.noreply.github.com>
committer: Eric V. Smith <ericvsmith at users.noreply.github.com>
date: 2018-07-05T19:09:13-04:00
summary:
Fix typo in dataclasses documentation (GH-8102)
files:
M Lib/dataclasses.py
diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py
index ad7bf0f7593a..e00a125bbd87 100644
--- a/Lib/dataclasses.py
+++ b/Lib/dataclasses.py
@@ -257,7 +257,7 @@ def __repr__(self):
# 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
More information about the Python-checkins
mailing list