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 e82cde4 commit 119e043Copy full SHA for 119e043
src/attr/_make.py
@@ -2870,10 +2870,10 @@ def make_class(
2870
2871
.. note::
2872
2873
- This function is a thin wrapper around `attr.s`, not `attrs.define`
+ ``make_class()`` is a thin wrapper around `attr.s`, not `attrs.define`
2874
which means that it doesn't come with some of the improved defaults.
2875
2876
- For example, if you want the same `on_setattr` behavior as in
+ For example, if you want the same ``on_setattr`` behavior as in
2877
`attrs.define`, you have to pass the hooks yourself: ``make_class(...,
2878
on_setattr=setters.pipe(setters.convert, setters.validate)``
2879
0 commit comments