[Zope-dev] More almost __call__ ;-)

Chris Withers chrisw@nipltd.com
Fri, 13 Oct 2000 13:44:59 +0100


Toby Dickenson wrote:
> <http://www.zope.org/Members/htrd/howto/FunctionTemplate>
> 
> you would use....
> 
>     def a_method(self,md):
>         do_stuff_with(md['param1'],md['param2'])
>     a_method = FunctionTemplate(a_method)

That looks like it'll do the trick... I wonder if there's any way you
can role it up into a Product so that I don't need to have
FunctionTemplate.py in each folder of a product that needs to use it?

cheers,

Chris