[Python-checkins] Fix typo in dataclasses documentation (GH-8102)

Miss Islington (bot) webhook-mailer at python.org
Thu Jul 5 19:28:21 EDT 2018


https://github.com/python/cpython/commit/3a7ee2817cf3e3a8330e8cedda3a0502fd31248b
commit: 3a7ee2817cf3e3a8330e8cedda3a0502fd31248b
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018年07月05日T16:28:18-07:00
summary:
Fix typo in dataclasses documentation (GH-8102)
(cherry picked from commit e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5)
Co-authored-by: Artjom <tjomk at users.noreply.github.com>
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

AltStyle によって変換されたページ (->オリジナル) /