Re: [Zope] _.getitem() was:Getting an object from it's id

2001-01-23 Thread Tim Cook
Chris Withers wrote: > > Tim Cook wrote: > > > > I use getitem() quite alot and never set the flag (therefore it's > > false). It works and does what I want, but the ZQR entry doesn't > > seem to support that and I have seen it given as an example with > > the flag set true with what appears to m

Re: [Zope] _.getitem() was:Getting an object from it's id

2001-01-23 Thread Chris Withers
Tim Cook wrote: > > I use getitem() quite alot and never set the flag (therefore it's > false). It works and does what I want, but the ZQR entry doesn't > seem to support that and I have seen it given as an example with > the flag set true with what appears to me to be the same results. ...it ca

[Zope] _.getitem() was:Getting an object from it's id

2001-01-23 Thread Tim Cook
Speaking of getitem... > if objectname is actually a variable with the name... > > Can someone explain this from the ZQR? getitem(name,flag) Lookup a name in the namespace. If the value is callable and the flag is true, then the result of calling the value is returned, otherwise the value is