what is the difference between @property and method

Zheng Li dllizheng at gmail.com
Fri Feb 10 02:57:26 EST 2012


Thank you

On 2012/02/10, at 0:36, John Posner wrote:

> On 2:59 PM, Devin Jeanpierre wrote:
> 
> 
>> It is kind of funny that the docs don't ever explicitly say what a
>> property is. http://docs.python.org/library/functions.html#property --
>> Devin 
> 
> Here's a writeup that does:
> http://wiki.python.org/moin/AlternativeDescriptionOfProperty
> 
> -John
> 




More information about the Python-list mailing list