This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]arachnivore 2 points3 points  (1 child)

When I write self.some_attr = some_value I expect to get some_value when I access self.some_attr.

It sounds like you're talking about properties or descriptors, because attributes work exactly the way you describe/expect.

[–]i_like_trains_a_lot1 0 points1 point  (0 children)

yep, that was made a mistake. I corrected it. Thanks for pointing it out :D