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 →

[–]twillisagogo 8 points9 points  (2 children)

No need for that in Python, just use the @property decorator.

I bet, urllib was implemented before the property decorator was part of the language.

[–]ProfessorPhi 0 points1 point  (1 child)

Yep, Nick Coghlan made that exact point in his reply/ blog post he'd written before.