is python Object oriented??

Marco Mariani marco at sferacarta.com
Tue Feb 3 10:42:06 CET 2009


Thorsten Kampe wrote:

> This scenario is highly "supposing" and doesn't look like a real-world-
> case to me. But anyway: the obvious solution in my humble opinion would 
> be to do something like "public_attribute = _private_attribute". But 
> that would be too simple, too "unjavaesque", right?!

Yes, the use of @property is.. cheating!! Shame on you! :)




More information about the Python-list mailing list