docs: compound adjective

This commit is contained in:
Hynek Schlawack 2024-01-13 07:26:19 +01:00 committed by GitHub
parent f070a21a3e
commit deb0133f63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ Frozen dict classes have barely a performance impact, unfrozen slotted classes a
By default, the standard library {func}`functools.cached_property` decorator does not work on slotted classes, because it requires a `__dict__` to store the cached value.
This could be surprising when using *attrs*, as slotted classes are the default.
Therefore, *attrs* converts `functools.cached_property` decorated methods when constructing slotted classes.
Therefore, *attrs* converts `cached_property`-decorated methods when constructing slotted classes.
Getting this working is achieved by: