method to create class property

Diez B. Roggisch deets at nospam.web.de
Wed Mar 19 03:56:45 EDT 2008


> Isn't that::
> 
> 
> 
>  @propset(foo)
> 
>  def foo(self, value):
> 
>      self._value = value

Yeah, you are right.

Diez



More information about the Python-list mailing list