method to create class property

Diez B. Roggisch deets at nospam.web.de
Wed Mar 19 08:56:45 CET 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