# class Cell(object):
#     def __init__(self, initialvalue = 0):
#        self._func = lambda x: x
#        self.__value = initialvalue
#
#     def setvalue (self, newvalue):
#         self.__value = self._func(newvalue)
#
#     def getvalue (self):
#         return self.__value
#
#     def delvalue (self):
#         del self.__value
#
#     value = property(getvalue, setvalue, delvalue, "I'm the 'value'
property.")
#
#     def curry(self, func, *args):
#         self._func = lambda x: func(x, *args)

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

Reply via email to