Skip to content

Commit b819356

Browse files
committed
fixup! Define __getattribute__() instead of __getattr__() on slotted classes with cached properties
1 parent 1704015 commit b819356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/how-does-it-work.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Therefore, *attrs* converts `cached_property`-decorated methods when constructin
111111
Getting this working is achieved by:
112112

113113
* Adding names to `__slots__` for the wrapped methods.
114-
* Adding a `__getattr__` method to set values on the wrapped methods.
114+
* Adding a `__getattribute__` method to set values on the wrapped methods.
115115

116116
For most users, this should mean that it works transparently.
117117

0 commit comments

Comments
 (0)