[Grok-dev] directlyProvides

Darryl Cousins darryl at darrylcousins.net.nz
Sun Mar 25 18:55:45 EDT 2007


Hi,

I must be dense but I can't see how to use directlyProvides in grok. In
doctest I would do:

directlyProvides(IMyInterface, IContentType)

and in zcml I would have done:

<interface interface=".IMyInterface"
           type="zope.app.content.IContentType" />

And with grok I would use: ??

Regards,
Darryl



More information about the Grok-dev mailing list