Decorator keyword options - brainstorming
Neil Hodgson
nhodgson at bigpond.net.au
Fri Aug 20 18:26:23 EDT 2004
Michael Sparks:
> Whilst many decorators can be alluded to as a keyword, I don't think all
> decorators would be. Consider how you would describe the actions of
> this list, or how you would describe this list of actions: (taken from
> various sources)
>
> staticmethod
> generator
> grammarrule('statement : expression')
> versioninfo("Added in 2.4")
> deprecated
> typeinfo(None)
> author("joe bloggs")
> funcattrs(grammar="'@' dotted_name [ '(' [arglist] ')' ]",
> status="experimental", author="BDFL")
Declarations?
declare:
staticmethod
versioninfo("Added in 2.4")
deprecated
def cheeseSketch():
Neil
More information about the Python-list
mailing list