accepts decorator

urielka uriel.katz at gmail.com
Tue Sep 26 03:33:13 EDT 2006


hehe i saw that,that is what made my understand it.
the decorator now works.
let say i have a function decorated with two decorators:

@Accept(int,int)
@OtherDecorator
def myfunc(a,b):
    pass

how can i make the two decorators into one(note:one get parameters and
the other doesn`t)




More information about the Python-list mailing list