Add often forgotten feature

This commit is contained in:
Hynek Schlawack 2023-05-03 16:36:35 -06:00
parent d67cdaaaf9
commit fc34f20d18
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ Please check out [*On The Core API Names*](https://www.attrs.org/en/latest/names
On the tin, *attrs* might remind you of `dataclasses` (and indeed, `dataclasses` [are a descendant](https://hynek.me/articles/import-attrs/) of *attrs*). On the tin, *attrs* might remind you of `dataclasses` (and indeed, `dataclasses` [are a descendant](https://hynek.me/articles/import-attrs/) of *attrs*).
In practice it does a lot more and is more flexible. In practice it does a lot more and is more flexible.
For instance it allows you to define [special handling of NumPy arrays for equality checks](https://www.attrs.org/en/stable/comparison.html#customization), or allows more ways to [plug into the initialization process](https://www.attrs.org/en/stable/init.html#hooking-yourself-into-initialization). For instance it allows you to define [special handling of NumPy arrays for equality checks](https://www.attrs.org/en/stable/comparison.html#customization), allows more ways to [plug into the initialization process](https://www.attrs.org/en/stable/init.html#hooking-yourself-into-initialization), and allows for stepping through the generated methods using a debugger.
For more details, please refer to our [comparison page](https://www.attrs.org/en/stable/why.html#data-classes). For more details, please refer to our [comparison page](https://www.attrs.org/en/stable/why.html#data-classes).