[Zope] Finding an object in a folder

Paul Winkler pw_lists at slinkp.com
Fri May 27 05:07:01 EDT 2005


On Fri, May 27, 2005 at 08:51:58AM +0100, Chris Withers wrote:
> Paul Winkler wrote:
> 
> >marker = ()
> >if getattr(some_object, marker) is not marker:
> 
> For good measure, I wonder if that should be a [], no a ()?

What's wrong with a tuple? There's no reason to mutate the marker. 

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list