File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,17 @@ def define(
49
49
50
50
Differences to the classic `attr.s` that it uses underneath:
51
51
52
- - Automatically detect whether or not *auto_attribs* should be `True`
53
- (c.f. *auto_attribs* parameter).
52
+ - Automatically detect whether or not *auto_attribs* should be `True` (c.f.
53
+ *auto_attribs* parameter).
54
54
- If *frozen* is `False`, run converters and validators when setting an
55
55
attribute by default.
56
- - *slots=True* (see :term:`slotted classes` for potentially surprising
57
- behaviors)
56
+ - *slots=True*
57
+
58
+ .. caution::
59
+
60
+ Usually this has only upsides and few visible effects in everyday
61
+ programming. But it *can* lead to some suprising behaviors, so please
62
+ make sure to read :term:`slotted classes`.
58
63
- *auto_exc=True*
59
64
- *auto_detect=True*
60
65
- *order=False*
You can’t perform that action at this time.
0 commit comments