Thanks to visit codestin.com Credit goes to github.com
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 0a761ca commit a3db4e8Copy full SHA for a3db4e8
Doc/library/dataclasses.rst
@@ -613,7 +613,8 @@ methods will raise a :exc:`FrozenInstanceError` when invoked.
613
614
There is a tiny performance penalty when using ``frozen=True``:
615
:meth:`~object.__init__` cannot use simple assignment to initialize fields, and
616
-must use :meth:`!__setattr__`.
+must use :meth:`!object.__setattr__`.
617
+.. Make sure to not remove "object" from "object.__setattr__" in the above markup
618
619
.. _dataclasses-inheritance:
620
0 commit comments