Replies: 1 comment 4 replies
-
Then you need to pass around Alternatively, can store you can store a reference to the |
Beta Was this translation helpful? Give feedback.
-
Then you need to pass around Alternatively, can store you can store a reference to the |
Beta Was this translation helpful? Give feedback.
-
The decorator can call the wrapped
a
and get the value ofself._a
.What if I don't want the value of
self._a
but I want the pointer toself._a
, such that whatever valueself._a
changed to, the pointer toself._a
will always return me the newly updated value ofself._a
.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions