8000 Update Doc/library/dataclasses.rst · python/cpython@42606c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 42606c3

Browse files
authored
Update Doc/library/dataclasses.rst
1 parent e6b3669 commit 42606c3

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
@@ -186,7 +186,7 @@ Module contents
186186
will be generated and new class will be returned instead of the original one.
187187
If :attr:`!__slots__` is already defined in the class, then :exc:`TypeError`
188188
is raised. Calling no-arg :func:`super` in dataclasses using ``slots=True`` will result in
189-
the following Exception being raised:
189+
the following exception being raised:
190190
``TypeError: super(type, obj): obj must be an instance or subtype of type``.
191191
The two-arg :func:`super` is a valid workaround. See :gh:`90562` for full details.
192192

0 commit comments

Comments
 (0)
0