[Grok-dev] Re: you can comma separate directives

Philipp von Weitershausen philipp at weitershausen.de
Fri May 2 05:33:59 EDT 2008


On 2 May 2008, at 10:48 , Christian Theune wrote:
> Other weird-looking possibilities:
>
>    directives = grok.context(MyApp) = grok.name('fish')

I don't think that'll quite work :)

>    grok.context(MyApp) + grok.name('fish')

That would work for those directives, but some directives actually do  
return something (the ones that can be used as decorators as well,  
such as grok.require, will return functions and functions can't be  
added :)).

Better end the silliness now :)



More information about the Grok-dev mailing list