Skip to content

Commit aa0e4a6

Browse files
authored
Fix typo in dataclasses documentation (#27360)
"affect" -> "effect"
1 parent ae0a2b7 commit aa0e4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/dataclasses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Module contents
172172

173173
- ``kw_only``: If true (the default value is ``False``), then all
174174
fields will be marked as keyword-only. If a field is marked as
175-
keyword-only, then the only affect is that the :meth:`__init__`
175+
keyword-only, then the only effect is that the :meth:`__init__`
176176
parameter generated from a keyword-only field must be specified
177177
with a keyword when :meth:`__init__` is called. There is no
178178
effect on any other aspect of dataclasses. See the

0 commit comments

Comments
 (0)