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 1921da6 commit 4580a74Copy full SHA for 4580a74
1 file changed
docs/init.md
@@ -476,7 +476,7 @@ attrs.exceptions.FrozenInstanceError: can't set attribute
476
If you need to set attributes on a frozen class, you'll have to resort to the [same trick](how-frozen) as *attrs* and use {meth}`object.__setattr__`:
477
478
```{doctest}
479
->>> @define
+>>> @frozen
480
... class Frozen:
481
... x: int
482
... y: int = field(init=False)
0 commit comments