We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee4030c commit 83d332bCopy full SHA for 83d332b
Doc/library/dataclasses.rst
@@ -164,8 +164,8 @@ Module contents
164
generate an exception. This emulates read-only frozen instances.
165
See the :ref:`discussion <dataclasses-frozen>` below.
166
167
- If :meth:`~object.__setattr__` or :meth:`~object.__delattr__` is defined in the class,
168
- then :exc:`TypeError` is raised.
+ If :meth:`~object.__setattr__` or :meth:`~object.__delattr__` is defined in the class
+ and *frozen* is true, then :exc:`TypeError` is raised.
169
170
- *match_args*: If true (the default is ``True``), the
171
:attr:`~object.__match_args__` tuple will be created from the list of
0 commit comments