[Zope3-dev] Re: Using classes as constants for security settings

Chris Withers chrisw@nipltd.com
Mon, 18 Feb 2002 07:37:18 +0000


Steve Alexander wrote:
> 
>      def _setDescription(self, description):
>          self._description=description
> 
>      def getDescription(self):
>          return self._description

What's description used for?

'cos aside from that, they could be just integer literals with names defined
somewhere, which would be much quicker no matter how you slice it.

cheers,

Chris