From 21f1160ed38e68aadf0798456e6a0ad1b9af59f8 Mon Sep 17 00:00:00 2001 From: thomkeh Date: Mon, 26 Jul 2021 10:54:22 +0100 Subject: [PATCH] Fix typo in dataclasses documentation "affect" -> "effect" --- Doc/library/dataclasses.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index e203a1a2132df9..4ee75f1cc5ff96 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