[Tutor] @property?

Steve Willoughby steve at alchemy.com
Fri Jan 16 19:13:21 CET 2009


On Fri, Jan 16, 2009 at 06:32:19PM +0100, spir wrote:
> Hello,
> 
> would someone point me to some clear doc about properties: purpose, use, underlying model...
> [Could not find myself, probably because the word "property itself has far too wide meaning.]

I'm a little confused here because of the "@" in the subject.
Do you mean Python syntax using the "@" in front of a name like:

@protected
def spam(eggs):
	...

Those are called "decorators".  Try searching for those, or we can help 
if that's what you're looking for. 

-- 
Steve Willoughby    |  Using billion-dollar satellites
steve at alchemy.com   |  to hunt for Tupperware.


More information about the Tutor mailing list