Decorator keyword options - brainstorming

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Fri Aug 20 20:03:06 CEST 2004


David Vaughan wrote:
> Paul McGuire wrote:
>> I'd say that something like "gerbil" should be right out! 
> 
> I don't know - it sounds fun.  I vote:
> 
> SpanishInquisition:
>     staticmethod
> def foo():
>     pass
> 
> The guys at python-dev won't be expecting that one :)
> But seriously, there must be something literally pythonic we could
> propose.

How about

pythonic:
    staticmethod
def foo():
    pass

?

Reinhold

-- 
Wenn eine Linuxdistribution so wenig brauchbare Software wie Windows
mitbrächte, wäre das bedauerlich.  Was bei Windows der Umfang eines
"kompletten Betriebssystems" ist, nennt man bei Linux eine Rescuedisk.
  -- David Kastrup in de.comp.os.unix.linux.misc



More information about the Python-list mailing list