On 3 mai, 16:12, "Gaetan de Menten" <[EMAIL PROTECTED]> wrote:
> Wrapping a field in a property works fine (See the attached file which
> is your example debugged -- your way to define a property is quite...
> peculiar).
I usually use a quite similar idiom:
class Dummy(object):
@apply
def name():
def fget(self):
return self._name
def fset(self, value)
self._name = value
return property(**locals())
and I've no problem with it so far...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---