Static method and class method comments

Markus Schaber markus at schabi.de
Thu Aug 2 12:10:44 EDT 2001


Hello,

Terry Reedy <tjreedy at home.com> schrub:

>> And it seems rather powerful for a lot of cases. But it raises the
>> question what to do with combining more than one funcmodifier...
> 
> Either make the optional funcmodifier an optional list (perhaps not a
> good idea)

At least it should be clearly defined in which order the functions are 
applied.

> or tell users to write simple wrapper of multiple modifiers:
> 
> def multimod(f): return mod2(mod1(f))

It might even be possible to allow the lambda operator to create such 
wrapper functions instantly.

markus
-- 
Defend democrathy and freedom!



More information about the Python-list mailing list