summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorthomkeh <thomas5max@gmail.com>2021-07-26 12:39:45 (GMT)
committerGitHub <noreply@github.com>2021-07-26 12:39:45 (GMT)
commitaa0e4a64b083ecf0c3abcdbaeda940c946a23048 (patch)
tree4ef1bf693497ace40ffeebcfaf1d0b7ddace0db8 /Doc/library
parentae0a2b756255629140efcbe57fc2e714f0267aa3 (diff)
downloadcpython-aa0e4a64b083ecf0c3abcdbaeda940c946a23048.zip
cpython-aa0e4a64b083ecf0c3abcdbaeda940c946a23048.tar.gz
cpython-aa0e4a64b083ecf0c3abcdbaeda940c946a23048.tar.bz2
Fix typo in dataclasses documentation (#27360)
"affect" -> "effect"
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dataclasses.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index e203a1a..4ee75f1 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -172,7 +172,7 @@ Module contents
- ``kw_only``: If true (the default value is ``False``), then all
fields will be marked as keyword-only. If a field is marked as
- keyword-only, then the only affect is that the :meth:`__init__`
+ keyword-only, then the only effect is that the :meth:`__init__`
parameter generated from a keyword-only field must be specified
with a keyword when :meth:`__init__` is called. There is no
effect on any other aspect of dataclasses. See the