Skip to content

Commit 304dec4

Browse files
committed
Update comment in RemoteAttrib class to reflect corrected reasoning for using descriptors over properties.
1 parent a605b27 commit 304dec4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classmods/_descriptors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class RemoteAttrib(Generic[T]):
5252
Why not use `@property`?
5353
- You can`t pass additional args, kwargs to a call; so your class keeps getting bigger.
5454
- caching is not available on `property`.
55-
- easy usage with lambda ! and you get smaller space.
55+
- easy usage with lambda ! and you save a lot of code.
5656
5757
Example:
5858
>>> import requests

0 commit comments

Comments
 (0)