Fred Drake wrote:
On 1/24/07, Chris Withers <[EMAIL PROTECTED]> wrote:
queryAdapter, for me, is "starting with the supplied object, get me
something that implements the supplied interface and return None if no
such object can be obtained".


 o = IFoo(ob, None)
 if os is not None:

Ah, now that's what I was looking for, thanks :-)

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to