[Zope-dev] More almost __call__ ;-)

Chris Withers chrisw@nipltd.com
Fri, 13 Oct 2000 14:25:54 +0100


Jim Fulton wrote:

> In any case, if you *just* want to get your function to be
> called from DTML (and your class is an extension class), you can give
> it the isDocTemp attribute like so:
> 
>   class MyClass(.... include some extension class ...):
> 
>     some_methodisDocTemp=1
>     def some_method(self, ignored, md):

great :-) that did the trick, thanks...

I can't help but feel this woudl all be so much simpler if it was
documented somewhere for idiots like me :-S

cheers,

Chris