Another decorator proposal.

Adonis adonisv at DELETETHISTEXTearthlink.net
Wed Aug 11 18:15:57 CEST 2004


How about something to this effect:

class Foo:
    def static bar():
        ...

or

class Foo:
    def __init__(self):
        ...

def Foo bar():
    ...

Pros/Cons?

Adonis





More information about the Python-list mailing list