[Zope3-Users] Re: Adapters and getters and setters

Darryl Cousins darryl at darrylcousins.net.nz
Tue Jul 25 05:16:17 EDT 2006

Hi Phillip,

Cool. Thanks very much for that!

Best regards,

On Tue, 2006-07-25 at 10:16 +0200, Philipp von Weitershausen wrote:
>       # account for everything in the IBuddy interface
>       for field in IBuddy:
>           locals()[field] = property(
>               lambda self: getattr(self.context, field),
>               lambda self, value: setattr(self.context, field, value)
>               ) 

More information about the Zope3-users mailing list