Decorator keyword options - brainstorming

Michael Sparks zathras at thwackety.com
Fri Aug 20 16:16:59 EDT 2004


On Fri, 20 Aug 2004, Reinhold Birkenfeld wrote:
> David Vaughan wrote:
> > Paul McGuire wrote:
> > I don't know - it sounds fun.  I vote:
> >
> > SpanishInquisition:
> >     staticmethod
> > def foo():
> >     pass
> > But seriously, there must be something literally pythonic we could
> > propose.
> How about
> pythonic:
>     staticmethod
> def foo():
>     pass
>

That's never work - for IronPython you'd have to change it:

ironic:
    staticmethod
def foo():
    pass

;-)


Michael.




More information about the Python-list mailing list