aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Doc/library/dataclasses.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/dataclasses.rst')
-rw-r--r--Doc/library/dataclasses.rst7
1 files changed, 0 insertions, 7 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index cfca11afbd2..1457392ce6e 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -188,13 +188,6 @@ Module contents
is raised.
.. warning::
- Calling no-arg :func:`super` in dataclasses using ``slots=True``
- will result in the following exception being raised:
- ``TypeError: super(type, obj): obj must be an instance or subtype of type``.
- The two-arg :func:`super` is a valid workaround.
- See :gh:`90562` for full details.
-
- .. warning::
Passing parameters to a base class :meth:`~object.__init_subclass__`
when using ``slots=True`` will result in a :exc:`TypeError`.
Either use ``__init_subclass__`` with no parameters