diff --git a/docs/init.md b/docs/init.md index d3b9b0fa..e4bb78e8 100644 --- a/docs/init.md +++ b/docs/init.md @@ -476,7 +476,7 @@ attrs.exceptions.FrozenInstanceError: can't set attribute 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__`: ```{doctest} ->>> @define +>>> @frozen ... class Frozen: ... x: int ... y: int = field(init=False)