[Zope3-Users] Re: Checking if an interface is provided by an object
or could be adapted to
Martin Aspeli
optilude at gmx.net
Sun Apr 30 18:39:03 EDT 2006
On Sun, 30 Apr 2006 23:31:37 +0100, Bernd Dorn
<zope-mailinglist at mopa.at> wrote:
> i would use
>
> return IFoo(context, False) is not False or False
Aha, didn't know you could do that. Thanks :)
How do I do that for multi-adapters, though?
Martin
--
"You can just adapt yourself out of it..." // Archipelago sprint 26/04/2006
More information about the Zope3-users
mailing list