[Zope3-dev] Re: Re: keeping attributes abstract

Sam Stainsby sam at stainsby.id.au
Thu Mar 9 07:10:43 EST 2006


> class Foo(Persistent):
>     implements(IFooB)
> 
>    def setBar(self, bar):
>         ....
> 
>    def getBar(self):
>         ....
> 
>    bar = property(getBar, setBar)
> 
> 
> of course a subclasser of Foo needs to know that he is subclassing a  
> Foo and not simply a IFooB, however this is mostly a documentation issue

Superb! Thanks.




More information about the Zope3-dev mailing list