Diez B. Roggisch wrote:

> In python 3.0, there will be an even nicer way - propset:



> @property 

> def foo(self):

>      return self._foo



> @propset 

> def foo(self, value):

>      self._value = value





Isn't that::



  @propset(foo)

  def foo(self, value):

      self._value = value



Cheers,

Alan Isaac


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to