Static method and class method comments

Terry Reedy tjreedy at home.com
Thu Aug 2 17:07:21 CEST 2001


"Markus Schaber" <markus at schabi.de> wrote in message
news:1201359.46VatdPhlS at lunix.schabi.de...
> 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)
or tell users to write simple wrapper of multiple modifiers:

def multimod(f): return mod2(mod1(f))

Terry J. Reedy






More information about the Python-list mailing list